Remove console log
This commit is contained in:
parent
e9ab234d61
commit
9ff2b62740
|
@ -99,8 +99,6 @@ const useIsTwitch = (user: User | null | undefined) => {
|
||||||
const isTwitch = router.pathname === '/twitch'
|
const isTwitch = router.pathname === '/twitch'
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log('twich?', isTwitch)
|
|
||||||
|
|
||||||
if (isTwitch && user?.shouldShowWelcome) {
|
if (isTwitch && user?.shouldShowWelcome) {
|
||||||
updateUser(user.id, { ['shouldShowWelcome']: false })
|
updateUser(user.id, { ['shouldShowWelcome']: false })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user