it's a game!
This commit is contained in:
29
src/App.tsx
29
src/App.tsx
@@ -1,26 +1,17 @@
|
||||
import React from 'react';
|
||||
import logo from './logo.svg';
|
||||
import './App.css';
|
||||
import React from "react";
|
||||
import logo from "./logo.svg";
|
||||
import "./App.css";
|
||||
import common from "./common.json";
|
||||
import { pick } from "./util";
|
||||
import Game from "./Game";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
return <>
|
||||
<h1>Wordl!</h1>
|
||||
<div className="App">
|
||||
<header className="App-header">
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<p>
|
||||
Edit <code>src/App.tsx</code> and save to reload.
|
||||
</p>
|
||||
<a
|
||||
className="App-link"
|
||||
href="https://reactjs.org"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Learn React
|
||||
</a>
|
||||
</header>
|
||||
<Game target={pick(common)} />
|
||||
</div>
|
||||
);
|
||||
</>;
|
||||
}
|
||||
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user