File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import ReactDOM from 'react-dom/client' ;
3
3
import { QueryClient , QueryClientProvider } from '@tanstack/react-query' ;
4
- import { BrowserRouter as Router , Route , Routes , Link } from "react-router-dom" ;
4
+ import { BrowserRouter as Router , Route , Routes } from "react-router-dom" ;
5
5
6
6
import './style.scss' ;
7
7
import Home from "./pages/home/home.tsx" ;
@@ -18,7 +18,6 @@ function App() {
18
18
< Route path = "/news" element = { < News /> } />
19
19
< Route path = "/mods" element = { < Mods /> } />
20
20
< Route path = "/account" element = { < Home /> } />
21
- < Route path = "*" element = { < NoMatch /> } />
22
21
</ Routes >
23
22
</ Router >
24
23
) ;
@@ -42,20 +41,3 @@ function Header() {
42
41
</ nav >
43
42
)
44
43
}
45
-
46
- function NoMatch ( ) {
47
- return (
48
- < div className = "page" >
49
- < h1 > Page doesnt exist!</ h1 >
50
- < p >
51
- < i >
52
- You find yourself in an empty room. There is nothing here but a few chairs and a table with food left out on it.
53
- Dusty hardwood floors, grimy paper thin walls, shattered glass from the windows nearby that somehow made its way across the room.
54
- The history of this place, gone in what feels like an instant, but you can see the beauty in the missing and gone.
55
- < br /> < br />
56
- You turn around and see yourself out. < b > < Link className = "homeButton" to = "/" > Lets go home</ Link > </ b > .
57
- </ i >
58
- </ p >
59
- </ div >
60
- ) ;
61
- }
You can’t perform that action at this time.
0 commit comments