fix: 404 Component is missing

This commit is contained in:
Mikey 2023-10-12 08:28:17 +08:00 committed by GitHub
parent b4b4acc288
commit cac5ac88e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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