Skip to content

best way to save what you love

web/storage: remove getStorageQuota()

jj893c6edde771
diff --git a/web/src/lib/storage.ts b/web/src/lib/storage.ts
index 5779c425..767dc425 100644
--- a/web/src/lib/storage.ts
+++ b/web/src/lib/storage.ts
@@ -64,11 +64,3 @@ export const clearFileStorage = async () => {
}
}
}
-
-export const getStorageQuota = async () => {
- let estimate;
- if (navigator.storage.estimate) {
- estimate = await navigator.storage.estimate();
- }
- return estimate;
-}