fix: id collision

This commit is contained in:
Fredrik Burmester
2025-01-01 16:11:04 +01:00
parent 27609e7789
commit ece3bc001f
6 changed files with 33 additions and 16 deletions

View File

@@ -107,9 +107,9 @@ export default function index() {
setIsConnected(state.isConnected);
});
cleanCacheDirectory()
.then(r => console.log("Cache directory cleaned"))
.catch(e => console.error("Something went wrong cleaning cache directory"))
cleanCacheDirectory().catch((e) =>
console.error("Something went wrong cleaning cache directory")
);
return () => {
unsubscribe();
};