Skip to content

Commit

Permalink
move timerlist component
Browse files Browse the repository at this point in the history
  • Loading branch information
nmpereira committed Dec 20, 2023
1 parent d872318 commit 7665990
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import UsernameContext from "./components/Username/UsernameContext";
import ValidRoom from "./Pages/Room/ValidRoom";
import DefaultRoom from "./Pages/DefaultRoom/DefaultRoom";
import { tracker } from "../common/common";
import TimerList from "./Pages/TimerList/TimerList";

const App = (): JSX.Element => {
const [globalUsersConnected, setGlobalUsersConnected] = useState<number>(0);
Expand Down Expand Up @@ -115,10 +116,7 @@ const App = (): JSX.Element => {
/>

<Route path="admin" element={<h2>Admin</h2>} />
<Route
path="timerlist"
element={<h2>timerlist</h2>}
/>
<Route path="timerlist" element={<TimerList />} />

<Route
path="/:room"
Expand Down
5 changes: 5 additions & 0 deletions src/Pages/TimerList/TimerList.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const TimerList = (): JSX.Element => {
return <div>TimerList</div>;
};

export default TimerList;

0 comments on commit 7665990

Please sign in to comment.