|
@@ -10,14 +10,13 @@ import { absoluteRoutes, relativeRoutes } from '@/config/routes'
|
|
import { transitions } from '@/shared/theme'
|
|
import { transitions } from '@/shared/theme'
|
|
import { RoutingState } from '@/types/routing'
|
|
import { RoutingState } from '@/types/routing'
|
|
|
|
|
|
-import { ChannelView, ChannelsView, HomeView, NewView, PopularView, SearchOverlayView, VideoView, VideosView } from '.'
|
|
|
|
|
|
+import { ChannelView, ChannelsView, HomeView, NewView, PopularView, SearchOverlayView, VideoView } from '.'
|
|
|
|
|
|
const viewerRoutes = [
|
|
const viewerRoutes = [
|
|
{ path: relativeRoutes.viewer.index(), element: <HomeView /> },
|
|
{ path: relativeRoutes.viewer.index(), element: <HomeView /> },
|
|
{ path: relativeRoutes.viewer.popular(), element: <PopularView /> },
|
|
{ path: relativeRoutes.viewer.popular(), element: <PopularView /> },
|
|
{ path: relativeRoutes.viewer.new(), element: <NewView /> },
|
|
{ path: relativeRoutes.viewer.new(), element: <NewView /> },
|
|
{ path: relativeRoutes.viewer.video(), element: <VideoView /> },
|
|
{ path: relativeRoutes.viewer.video(), element: <VideoView /> },
|
|
- { path: relativeRoutes.viewer.videos(), element: <VideosView /> },
|
|
|
|
{ path: relativeRoutes.viewer.channels(), element: <ChannelsView /> },
|
|
{ path: relativeRoutes.viewer.channels(), element: <ChannelsView /> },
|
|
{ path: relativeRoutes.viewer.channel(), element: <ChannelView /> },
|
|
{ path: relativeRoutes.viewer.channel(), element: <ChannelView /> },
|
|
]
|
|
]
|