Skip to content

Commit

Permalink
console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkester1986 committed May 16, 2024
1 parent fa8f805 commit 76143de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/gameOver/gameOver.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default function GameOver() {
const navigate = useNavigate();

const { gameOverDetails } = useSelector(({ game }) => game);
console.log({ gameOverDetails });
const { winner: winningTeam } = gameOverDetails || {};
const [showAllCards, setShowAllCards] = useState(false);

Expand Down
1 change: 1 addition & 0 deletions src/routes/home/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export default function Home() {
const alreadyJoined = useMemo(() => users?.find((user) => user?.id === userId), [userId, users]);

useEffect(() => {
console.log({ name, userName });
if (name && !userName) {
setUserNameFromInput(name);
}
Expand Down

0 comments on commit 76143de

Please sign in to comment.