mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix home page loading with lazy
This commit is contained in:
parent
175b2d6c85
commit
255d982687
5 changed files with 18 additions and 70 deletions
|
@ -1,12 +1,7 @@
|
|||
import loadable from '@loadable/component';
|
||||
import { AsyncRoute, AsyncRouteType } from '../../../../components/router/AsyncRoute';
|
||||
|
||||
export const ASYNC_USER_ROUTES: AsyncRoute[] = [
|
||||
{
|
||||
path: 'home.html',
|
||||
// FIXME: The use of tab manager for the home screen breaks when using lazy route handling
|
||||
Component: loadable(() => import('../home'))
|
||||
},
|
||||
{ path: 'home.html', page: 'home', type: AsyncRouteType.Experimental },
|
||||
{ path: 'quickconnect', page: 'quickConnect' },
|
||||
{ path: 'search.html', page: 'search' },
|
||||
{ path: 'userprofile.html', page: 'user/userprofile' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue