Format Game.js and Join.js files
co-authored-by: mitchemmc <mitchemmc@gmail.com>
This commit is contained in:
parent
9ef3b8b213
commit
c1e72766c5
@ -2,7 +2,11 @@ import React from "react";
|
|||||||
import { A } from "hookrouter";
|
import { A } from "hookrouter";
|
||||||
|
|
||||||
function Game() {
|
function Game() {
|
||||||
return <div><A href="/">GO TO HOME</A>GAME!</div>
|
return (
|
||||||
|
<div>
|
||||||
|
<A href="/">GO TO HOME</A>GAME!
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Game;
|
export default Game;
|
@ -2,7 +2,11 @@ import React from "react";
|
|||||||
import { A } from "hookrouter";
|
import { A } from "hookrouter";
|
||||||
|
|
||||||
function Join() {
|
function Join() {
|
||||||
return <div><A href="/game">GO TO GAME</A>JOIN!</div>
|
return (
|
||||||
|
<div>
|
||||||
|
<A href="/game">GO TO GAME</A>JOIN!
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Join;
|
export default Join;
|
Loading…
Reference in New Issue
Block a user