WoT implemented, plus other fixes #160

Merged
freakoverse merged 36 commits from staging into master 2024-11-20 16:39:08 +00:00
3 changed files with 0 additions and 3 deletions
Showing only changes of commit a486e5a383 - Show all commits

View File

@ -74,7 +74,6 @@ export const NDKContextProvider = ({ children }: { children: ReactNode }) => {
useEffect(() => { useEffect(() => {
window.onunhandledrejection = async (event: PromiseRejectionEvent) => { window.onunhandledrejection = async (event: PromiseRejectionEvent) => {
event.preventDefault() event.preventDefault()
console.log(event.reason)
if (event.reason?.name === Dexie.errnames.DatabaseClosed) { if (event.reason?.name === Dexie.errnames.DatabaseClosed) {
console.log( console.log(
'Could not open Dexie DB, probably version change. Deleting old DB and reloading...' 'Could not open Dexie DB, probably version change. Deleting old DB and reloading...'

View File

@ -22,7 +22,6 @@ export const ReportPopup = ({ handleClose }: ReportPopupProps) => {
useEffect(() => { useEffect(() => {
if (fetcher.data) { if (fetcher.data) {
const { isSent } = fetcher.data const { isSent } = fetcher.data
console.log(fetcher.data)
if (isSent) { if (isSent) {
handleClose() handleClose()
} }

View File

@ -32,7 +32,6 @@ export const PreferencesSetting = () => {
UserRelaysType.Both UserRelaysType.Both
).then((event) => { ).then((event) => {
if (event) { if (event) {
console.log('event :>> ', event)
const wot = event.tagValue('wot') const wot = event.tagValue('wot')
if (wot) setWotLevel(parseInt(wot)) if (wot) setWotLevel(parseInt(wot))
} }