mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-26 17:52:18 +01:00
fix database settings on http
This commit is contained in:
parent
faa763087f
commit
f7a913ca60
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user