diff --git a/src/components/VFSImage.tsx b/src/components/VFSImage.tsx index 2511e311..2f781449 100644 --- a/src/components/VFSImage.tsx +++ b/src/components/VFSImage.tsx @@ -72,7 +72,7 @@ export function VFSImage({ path, alt, className, onClick, onError }: VFSImagePro return () => { isMounted = false; }; - }, [fs, path]); + }, [fs, onError, path]); if (isLoading) { return ;