Compare commits
2 Commits
6ad0ffe1c5
...
daed4245fd
| Author | SHA1 | Date | |
|---|---|---|---|
| daed4245fd | |||
| afea1ce949 |
@@ -17,7 +17,7 @@ type Game = {
|
|||||||
|
|
||||||
export const GamePage = () => {
|
export const GamePage = () => {
|
||||||
const { author, slug } = useParams();
|
const { author, slug } = useParams();
|
||||||
const [text, setText] = useState("");
|
// const [text, setText] = useState("");
|
||||||
const [prevGpio, setPrevGpio] = useState<number[] | null>(null);
|
const [prevGpio, setPrevGpio] = useState<number[] | null>(null);
|
||||||
const [searchParams, setSearchParams] = useSearchParams();
|
const [searchParams, setSearchParams] = useSearchParams();
|
||||||
const room = searchParams.get("room");
|
const room = searchParams.get("room");
|
||||||
@@ -127,7 +127,7 @@ export const GamePage = () => {
|
|||||||
<Pico8Player consoleRef={picoRef} carts={game.carts} />
|
<Pico8Player consoleRef={picoRef} carts={game.carts} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
{/* <div>
|
||||||
<input onChange={(x) => setText(x.target.value)} />
|
<input onChange={(x) => setText(x.target.value)} />
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -136,7 +136,7 @@ export const GamePage = () => {
|
|||||||
>
|
>
|
||||||
Send
|
Send
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div> */}
|
||||||
{/* <div>
|
{/* <div>
|
||||||
<p>This is a paragraph about this game. It is a cool game. And a cool website to play it on. It automagically connects from GitHub.</p>
|
<p>This is a paragraph about this game. It is a cool game. And a cool website to play it on. It automagically connects from GitHub.</p>
|
||||||
</div> */}
|
</div> */}
|
||||||
|
|||||||
Reference in New Issue
Block a user