Remove redundant code

This commit is contained in:
Alex Kim
2026-06-02 19:17:44 +10:00
parent c9dba8a1b7
commit a35a807223

View File

@@ -33,11 +33,7 @@ const useImageStorage = () => {
console.warn("Error fetching image:", error);
return null;
} finally {
try {
if (tmpFile.exists) tmpFile.delete();
} catch {
// best-effort cleanup
}
if (tmpFile.exists) tmpFile.delete();
}
}, []);