WoT implemented, plus other fixes #160
@ -74,7 +74,6 @@ export const NDKContextProvider = ({ children }: { children: ReactNode }) => {
|
||||
useEffect(() => {
|
||||
window.onunhandledrejection = async (event: PromiseRejectionEvent) => {
|
||||
event.preventDefault()
|
||||
console.log(event.reason)
|
||||
if (event.reason?.name === Dexie.errnames.DatabaseClosed) {
|
||||
console.log(
|
||||
'Could not open Dexie DB, probably version change. Deleting old DB and reloading...'
|
||||
|
@ -22,7 +22,6 @@ export const ReportPopup = ({ handleClose }: ReportPopupProps) => {
|
||||
useEffect(() => {
|
||||
if (fetcher.data) {
|
||||
const { isSent } = fetcher.data
|
||||
console.log(fetcher.data)
|
||||
if (isSent) {
|
||||
handleClose()
|
||||
}
|
||||
|
@ -32,7 +32,6 @@ export const PreferencesSetting = () => {
|
||||
UserRelaysType.Both
|
||||
).then((event) => {
|
||||
if (event) {
|
||||
console.log('event :>> ', event)
|
||||
const wot = event.tagValue('wot')
|
||||
if (wot) setWotLevel(parseInt(wot))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user