Fix filter icon bug. Fixes #95

This commit is contained in:
bkellam 2024-11-27 10:43:41 -08:00
parent 18988ed14d
commit c061136125
2 changed files with 5 additions and 1 deletions

View file

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Fixed
- Fixed issue where incorrect repository icons were shown occasionally in the filter panel. ([#95](https://github.com/sourcebot-dev/sourcebot/issues/95))
## [2.5.1] - 2024-11-26 ## [2.5.1] - 2024-11-26
### Added ### Added

View file

@ -51,7 +51,7 @@ export const FilterPanel = ({
); );
setRepos(_repos); setRepos(_repos);
}, [matches, setRepos]); }, [matches, repoMetadata, setRepos]);
useEffect(() => { useEffect(() => {
const _languages = aggregateMatches( const _languages = aggregateMatches(