aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/components/IconsRoute.tsx
blob: 83c76900c632d229ee76bf47e35403d3a4931449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { lazy, Suspense } from 'react'
import { PageLoading } from './PageLoading'

const IconsPage = lazy(() =>
  import('../pages/IconsPage').then((module) => ({
    default: module.IconsPage,
  })),
)

export function IconsRoute() {
  return (
    <Suspense fallback={<PageLoading />}>
      <IconsPage />
    </Suspense>
  )
}