Format Game.js and Join.js files

co-authored-by: mitchemmc <mitchemmc@gmail.com>
This commit is contained in:
nicola 2020-03-16 21:51:32 +11:00
parent 9ef3b8b213
commit c1e72766c5
2 changed files with 12 additions and 4 deletions

View File

@ -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;

View File

@ -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;