1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/routes/index.tsx
2022-06-14 12:10:26 -04:00

16 lines
410 B
TypeScript

import React from 'react';
import { Route, Routes } from 'react-router-dom';
import SearchPage from './search';
const AppRoutes = () => (
<Routes>
<Route path='/'>
<Route path='search.html' element={<SearchPage />} />
{/* Suppress warnings for unhandled routes */}
<Route path='*' element={null} />
</Route>
</Routes>
);
export default AppRoutes;