Fix exhaustive-deps issue in VFSImage

This commit is contained in:
Alex Gleason committed 2025-12-09 13:31:55 -06:00
1 parent 8f66e44162
commit 0fb4bcf375
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ export function VFSImage({ path, alt, className, onClick, onError }: VFSImagePro
return () => {
isMounted = false;
};
}, [fs, path]);
}, [fs, onError, path]);
if (isLoading) {
return <Skeleton className={className || 'w-full h-64'} />;