mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-21 15:09:41 +00:00
web/storage: remove getStorageQuota()
not used anymore
This commit is contained in:
parent
b3f151f3cb
commit
893c6edde7
1 changed files with 0 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue