mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:18:30 +02:00
Fix performance related to having 100s of requests (#123)
This commit is contained in:
@@ -31,7 +31,7 @@ export function useRecentCookieJars() {
|
||||
}, [activeCookieJarId]);
|
||||
|
||||
const onlyValidIds = useMemo(
|
||||
() => kv.value?.filter((id) => cookieJars.data?.some((e) => e.id === id)) ?? [],
|
||||
() => kv.value?.filter((id) => cookieJars.some((e) => e.id === id)) ?? [],
|
||||
[kv.value, cookieJars],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user