Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| daed4245fd | |||
| afea1ce949 |
@@ -17,7 +17,7 @@ type Game = {
|
||||
|
||||
export const GamePage = () => {
|
||||
const { author, slug } = useParams();
|
||||
const [text, setText] = useState("");
|
||||
// const [text, setText] = useState("");
|
||||
const [prevGpio, setPrevGpio] = useState<number[] | null>(null);
|
||||
const [searchParams, setSearchParams] = useSearchParams();
|
||||
const room = searchParams.get("room");
|
||||
@@ -127,7 +127,7 @@ export const GamePage = () => {
|
||||
<Pico8Player consoleRef={picoRef} carts={game.carts} />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
{/* <div>
|
||||
<input onChange={(x) => setText(x.target.value)} />
|
||||
<button
|
||||
onClick={() => {
|
||||
@@ -136,7 +136,7 @@ export const GamePage = () => {
|
||||
>
|
||||
Send
|
||||
</button>
|
||||
</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>
|
||||
</div> */}
|
||||
|
||||
Reference in New Issue
Block a user