gameboard rendering for cards from card deck in store
This commit is contained in:
@@ -2,6 +2,7 @@ import './App.css';
|
||||
import { Routes, Route, BrowserRouter } from 'react-router-dom';
|
||||
|
||||
import Welcome from './components/Welcome';
|
||||
import GameBoard from './components/Game/GameBoard';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
@@ -9,6 +10,7 @@ function App() {
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<Welcome />}/>
|
||||
<Route path="/gameboard" element={<GameBoard />}/>
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user