diff --git a/src/renderer/saves/RecentSaves.tsx b/src/renderer/saves/RecentSaves.tsx index a725ce5c..a85a9fef 100644 --- a/src/renderer/saves/RecentSaves.tsx +++ b/src/renderer/saves/RecentSaves.tsx @@ -25,7 +25,7 @@ export default function RecentSaves(props: SaveFileSelectorProps) { const backend = useContext(BackendContext) const [recentSaves, setRecentSaves] = useState>() const [, , openSaves] = useContext(OpenSavesContext) - const [appInfo, , getEnabledSaveTypes] = useContext(AppInfoContext) + const [, , getEnabledSaveTypes] = useContext(AppInfoContext) const [error, setError] = useState() const openSavePaths = useMemo( @@ -51,7 +51,7 @@ export default function RecentSaves(props: SaveFileSelectorProps) { } ) ) - }, [backend, appInfo]) + }, [backend, getEnabledSaveTypes]) const removeRecentSave = useCallback( (path: string) =>