diff --git a/src/page/FavPlayersPage.tsx b/src/page/FavPlayersPage.tsx index 579667f..38a5a8f 100644 --- a/src/page/FavPlayersPage.tsx +++ b/src/page/FavPlayersPage.tsx @@ -39,7 +39,7 @@ export function FavePlayersPage() { const res = await fetch(`/api/fav`, { headers }); const data = await res.json(); return data; - }, { manual: true, cacheKey: 'favListRequest', cacheTime: 3 * 60 * 1000 }); + }, { manual: true, refreshDeps: [headers], cacheTime: 3 * 60 * 1000 }); const list = useMemo(() => { const l = showType === ShowType.LOCAL ? localList : favListRequest.data?.map(e => ({