Feature/update dependencies (#477)

* Remove accidentally committed script

* Update dependencies

* [ESLint] Fix issues

* Remove unnecessary "??" operator

* Update "vite" to v5.x

* Disable "no default export" rule in vite config
This commit is contained in:
schroda
2023-11-25 18:13:51 +01:00
committed by GitHub
parent 5aa7fc0f9f
commit 47b077cbf5
6 changed files with 707 additions and 659 deletions

View File

@@ -53,8 +53,8 @@ const compareSourcesBySearchResult = (
sourceB: ISource,
sourceToFetchedStateMap: SourceToLoadingStateMap,
): -1 | 0 | 1 => {
const isSourceAFetched = !sourceToFetchedStateMap.get(sourceA.id)?.isLoading ?? true;
const isSourceBFetched = !sourceToFetchedStateMap.get(sourceB.id)?.isLoading ?? true;
const isSourceAFetched = !sourceToFetchedStateMap.get(sourceA.id)?.isLoading;
const isSourceBFetched = !sourceToFetchedStateMap.get(sourceB.id)?.isLoading;
if (isSourceAFetched && !isSourceBFetched) {
return -1;
}