fix database settings on http

This commit is contained in:
hzrd149 2023-12-10 07:02:18 -06:00
parent faa763087f
commit f7a913ca60

View File

@ -25,7 +25,7 @@ function niceBytes(x: number) {
}
function DatabaseStats() {
const { value: estimatedStorage } = useAsync(() => window.navigator?.storage?.estimate?.(), []);
const { value: estimatedStorage } = useAsync(async () => await window.navigator?.storage?.estimate?.(), []);
const { value: replaceableEventCount } = useAsync(async () => {
const keys = await db.getAllKeys("replaceableEvents");