mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-18 11:32:30 +02:00
fix database settings on http
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user