diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fa4ed7f..f7b85d47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [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 ### Added diff --git a/packages/web/src/app/search/components/filterPanel/index.tsx b/packages/web/src/app/search/components/filterPanel/index.tsx index f7caa224..635fab51 100644 --- a/packages/web/src/app/search/components/filterPanel/index.tsx +++ b/packages/web/src/app/search/components/filterPanel/index.tsx @@ -51,7 +51,7 @@ export const FilterPanel = ({ ); setRepos(_repos); - }, [matches, setRepos]); + }, [matches, repoMetadata, setRepos]); useEffect(() => { const _languages = aggregateMatches(