mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix exhaustive-deps issue in VFSImage
This commit is contained in:
1 file changed
+1
-1
@@ -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'} />;
|
||||
|
||||
Reference in new issue
Block a user