Skip to content

Commit

Permalink
chore: cleanup logging of wallet ids
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture committed Jan 13, 2025
1 parent 0c52836 commit ab62b81
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ import { IconCircle } from 'components/IconCircle'
import { useBridgeClaimNotification } from 'hooks/useBridgeClaimNotification/useBridgeClaimNotification'
import { useHasAppUpdated } from 'hooks/useHasAppUpdated/useHasAppUpdated'
import { useModal } from 'hooks/useModal/useModal'
import { useWallet } from 'hooks/useWallet/useWallet'
import {
selectShowConsentBanner,
selectShowWelcomeModal,
selectWalletId,
} from 'state/slices/selectors'
import { useAppSelector } from 'state/store'
import { selectShowConsentBanner, selectShowWelcomeModal } from 'state/slices/selectors'

const flexGap = { base: 2, md: 3 }
const flexDir: ResponsiveValue<Property.FlexDirection> = { base: 'column', md: 'row' }
Expand Down Expand Up @@ -75,19 +69,6 @@ export const App = () => {
}
}, [isNativeOnboardOpen, openNativeOnboard, showWelcomeModal])

const portfolioWalletId = useAppSelector(selectWalletId)

const {
state: { deviceId: contextDeviceId },
} = useWallet()

useEffect(() => {
console.log({
portfolioWalletId,
contextDeviceId,
})
}, [contextDeviceId, portfolioWalletId])

return (
<>
{showConsentBanner && <ConsentBanner />}
Expand Down

0 comments on commit ab62b81

Please sign in to comment.