Skip to content

Commit

Permalink
Merge branch 'main' into CheBato/LobbyFunctions
Browse files Browse the repository at this point in the history
  • Loading branch information
CheBato authored Dec 29, 2024
2 parents 0830198 + fcc1ee6 commit 18b66e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/_components/HomePage/HomePagePlayMode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const HomePagePlayMode: React.FC = () => {
const [value, setValue] = React.useState(0);
const [testGameList, setTestGameList] = React.useState([]);
const { user } = useUser();
const showTestGames = process.env.NODE_ENV === "development" && user?.id === "exe66";
const showTestGames = process.env.NODE_ENV === "development" && (user?.id === "exe66" || user?.id === "th3w4y");

const handleChange = (event: React.SyntheticEvent, newValue: number) => {
setValue(newValue);
Expand Down Expand Up @@ -103,6 +103,7 @@ const HomePagePlayMode: React.FC = () => {
</Button>
);
})}
<Button sx={{marginTop: 2}} onClick={() => router.push("/GameBoard")}>Join Test Game</Button>
</Box>
</TabPanel>
}
Expand Down

0 comments on commit 18b66e9

Please sign in to comment.