generated from withrvr/Nextjs-Tailwindcss-Typescript-Template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed context API and localStorage(fixed warning for data mismatch be…
…tween server and client side rendering)
- Loading branch information
1 parent
d4dc017
commit fba2c1f
Showing
11 changed files
with
161 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
import Head from "next/head"; | ||
|
||
import Instructions from "components/game/Instructions"; | ||
import Board from "components/game/Board"; | ||
import { PlayerContext } from "components/Player/PlayerContext"; | ||
import BoardViewWithPlayerContext from "components/game/Board"; | ||
|
||
export default function Game() { | ||
return ( | ||
<> | ||
{/* <div className="text-4xl font-bold text-center my-7">Connect 4</div> */} | ||
<Head> | ||
<title>C4 - Offline - 1 vs 1</title> | ||
<title>Offline 1vs1</title> | ||
</Head> | ||
|
||
{/* <Instructions /> */} | ||
<BoardViewWithPlayerContext /> | ||
<div className="mb-20"></div> | ||
</> | ||
); | ||
} |
Oops, something went wrong.