diff --git a/packages/play-node-go/src/App.js b/packages/play-node-go/src/App.js index 83c03f9..76c0346 100644 --- a/packages/play-node-go/src/App.js +++ b/packages/play-node-go/src/App.js @@ -2,6 +2,8 @@ import React, {useState} from 'react'; import './App.scss'; import config from './config'; +import { Switch, Route } from 'react-router-dom'; + import socketIOClient from 'socket.io-client'; export const socket = socketIOClient(config.apiAddress); @@ -16,6 +18,17 @@ function App() {
{fetchData}
: <>>} {socketData ?{socketData}
: <>>} +Index
+Game
+