mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Update async route exports
This commit is contained in:
parent
2bc3bc8a93
commit
741927bcad
@ -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…
Reference in New Issue
Block a user