mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update async route exports
This commit is contained in:
parent
2bc3bc8a93
commit
741927bcad
2 changed files with 4 additions and 3 deletions
|
@ -17,3 +17,6 @@ export const toAsyncPageRoute = (route: AsyncRoute) => (
|
||||||
element={<AsyncPage page={route.page} />}
|
element={<AsyncPage page={route.page} />}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
export * from './admin';
|
||||||
|
export * from './user';
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Navigate, Route, Routes } from 'react-router-dom';
|
import { Navigate, Route, Routes } from 'react-router-dom';
|
||||||
|
|
||||||
import { toAsyncPageRoute } from './asyncRoutes';
|
import { ASYNC_ADMIN_ROUTES, ASYNC_USER_ROUTES, toAsyncPageRoute } from './asyncRoutes';
|
||||||
import { ASYNC_ADMIN_ROUTES } from './asyncRoutes/admin';
|
|
||||||
import { ASYNC_USER_ROUTES } from './asyncRoutes/user';
|
|
||||||
import ConnectionRequired from '../components/ConnectionRequired';
|
import ConnectionRequired from '../components/ConnectionRequired';
|
||||||
import ServerContentPage from '../components/ServerContentPage';
|
import ServerContentPage from '../components/ServerContentPage';
|
||||||
import { LEGACY_ADMIN_ROUTES, LEGACY_USER_ROUTES, toViewManagerPageRoute } from './legacyRoutes';
|
import { LEGACY_ADMIN_ROUTES, LEGACY_USER_ROUTES, toViewManagerPageRoute } from './legacyRoutes';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue