refactor: remove a few console logs
All checks were successful
Release to Staging / build_and_release (push) Successful in 45s

This commit is contained in:
enes 2024-11-20 13:54:35 +01:00
parent 8d20678c75
commit a486e5a383
3 changed files with 0 additions and 3 deletions

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))
} }