File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,23 +12,14 @@ import { useLocale, useTranslations } from 'next-intl';
1212import { useTheme } from 'next-themes' ;
1313import type { FC } from 'react' ;
1414
15+ import SearchButton from '#site/components/Common/Searchbox' ;
1516import Link from '#site/components/Link' ;
1617import WithBanner from '#site/components/withBanner' ;
1718import WithNodejsLogo from '#site/components/withNodejsLogo' ;
1819import { useSiteNavigation } from '#site/hooks' ;
1920import { useRouter , usePathname } from '#site/navigation.mjs' ;
2021import { availableLocales } from '#site/next.locales.mjs' ;
2122
22- const SearchButton = dynamic (
23- ( ) => import ( '#site/components/Common/Searchbox' ) ,
24- {
25- ssr : false ,
26- loading : ( ) => (
27- < Skeleton className = { styles . searchButtonSkeleton } loading = { true } />
28- ) ,
29- }
30- ) ;
31-
3223const ThemeToggle = dynamic (
3324 ( ) => import ( '@node-core/ui-components/Common/ThemeToggle' ) ,
3425 {
You can’t perform that action at this time.
0 commit comments