refactor: remove a few console logs
All checks were successful
Release to Staging / build_and_release (push) Successful in 45s
All checks were successful
Release to Staging / build_and_release (push) Successful in 45s
This commit is contained in:
parent
8d20678c75
commit
a486e5a383
@ -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...'
|
||||||
|
@ -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()
|
||||||
}
|
}
|
||||||
|
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user