From 348aa9219c9c03ad22ca7f599f0682ea0b511e01 Mon Sep 17 00:00:00 2001 From: Kayo Oliveira Date: Fri, 16 Sep 2022 17:24:28 -0300 Subject: [PATCH] feat(removing console logs): :fire: --- src/layouts/DefaultLayout/index.tsx | 1 - src/pages/Games/Plinko/index.tsx | 1 - src/store/auth.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/src/layouts/DefaultLayout/index.tsx b/src/layouts/DefaultLayout/index.tsx index 7646305..c03b641 100644 --- a/src/layouts/DefaultLayout/index.tsx +++ b/src/layouts/DefaultLayout/index.tsx @@ -19,7 +19,6 @@ export function DefaultLayout() { if (snapshot.exists()) { const data = snapshot.val() if (data && isAuth) { - console.log(data) setCurrentBalance(data.currentBalance) return } diff --git a/src/pages/Games/Plinko/index.tsx b/src/pages/Games/Plinko/index.tsx index 3b4df32..fc419ff 100644 --- a/src/pages/Games/Plinko/index.tsx +++ b/src/pages/Games/Plinko/index.tsx @@ -5,7 +5,6 @@ import { Game } from './components/Game' export function PlinkoGamePage() { const alertUser = (e: BeforeUnloadEvent) => { - console.log('gamesRunning', gamesRunning) if (gamesRunning > 0) { e.preventDefault() alert('Tu quer mermo sair feladaputa?') diff --git a/src/store/auth.ts b/src/store/auth.ts index 74d7be1..01e9928 100644 --- a/src/store/auth.ts +++ b/src/store/auth.ts @@ -63,7 +63,6 @@ export const useAuthStore = create((setState, getState) => ({ isAuth: false, setBalance: (balance: number) => { try { - console.log('setando estado', balance) setState( produce(state => { state.wallet.balance = balance