File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 11import { TYPEWRITER_WORDS } from '@/constants' ;
22import About from '@/components/home/About' ;
33import Name from '@/components/home/Name' ;
4- import { memo , Suspense } from 'react' ;
5- import dynamic from 'next/dynamic' ;
4+ import { memo } from 'react' ;
65import Image from 'next/image' ;
7-
8- const TypewriterEffect = dynamic ( ( ) => import ( '@/components/ui/typewriter-effect' ) , {
9- ssr : false
10- } ) ;
6+ import TypewriterEffect from '@/components/ui/typewriter-effect' ;
117
128
139const HomePage = ( ) => {
@@ -32,9 +28,7 @@ const HomePage = () => {
3228 < Name />
3329 </ header >
3430 < article >
35- < Suspense >
36- < TypewriterEffect words = { TYPEWRITER_WORDS } />
37- </ Suspense >
31+ < TypewriterEffect words = { TYPEWRITER_WORDS } />
3832 </ article >
3933 </ div >
4034 </ div >
You can’t perform that action at this time.
0 commit comments