fix: 404 Component is missing (#592)

* fix: 404 Component is missing

* chore: update 404 page style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
This commit is contained in:
Mikey
2023-10-13 21:42:07 -07:00
committed by GitHub
parent 114587b46f
commit e338de45b6
2 changed files with 8 additions and 13 deletions

View File

@@ -283,7 +283,9 @@ function App() {
</Suspense>
}
/>
<Route path='*' element={NotFound} />
<Route path='*' element={
<NotFound />
} />
</Routes>
);
}