diff --git a/components/Map.tsx b/components/Map.tsx index 12b0ad1..33f5d17 100644 --- a/components/Map.tsx +++ b/components/Map.tsx @@ -256,7 +256,7 @@ const Map: React.FC = () => { requestAnimationFrame(() => { if (map.current) map.current.resize(); }); - }, [map]); + }, [map, dispatch]); const clearSelectedMod = useCallback(() => { requestAnimationFrame(() => { diff --git a/components/PluginModList.tsx b/components/PluginModList.tsx index 078044f..1a3a09a 100644 --- a/components/PluginModList.tsx +++ b/components/PluginModList.tsx @@ -98,6 +98,7 @@ const PluginModList: React.FC = ({ mods, files, counts }) => {