chore: use-ndk #283

Merged
s merged 18 commits from use-ndk into staging 2025-01-06 11:10:49 +00:00
Showing only changes of commit 0d93e16f3a - Show all commits

View File

@ -75,7 +75,9 @@ export const NDKContextProvider = ({ children }: { children: ReactNode }) => {
}, [])
const ndk = useMemo(() => {
// localStorage.setItem('debug', '*')
if (import.meta.env.MODE === 'development') {
localStorage.setItem('debug', '*')
}
const dexieAdapter = new NDKCacheAdapterDexie({ dbName: 'sigit-db' })
dexieAdapter.locking = true
const ndk = new NDK({