File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
website/src/app/(pages)/(home)/_components Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ import dynamic from 'next/dynamic'
7
7
import { OTPInput , REGEXP_ONLY_DIGITS } from 'input-otp'
8
8
import { cn } from '@/lib/utils'
9
9
10
- const DynamicConfetti = dynamic ( ( ) =>
11
- import ( './confetti' ) . then ( m => m . Confetti ) ,
12
- )
10
+ // const DynamicConfetti = dynamic(() =>
11
+ // import('./confetti').then(m => m.Confetti),
12
+ // )
13
13
14
14
export function Showcase ( { className, ...props } : { className ?: string } ) {
15
15
const [ value , setValue ] = React . useState ( '12' )
@@ -23,7 +23,7 @@ export function Showcase({ className, ...props }: { className?: string }) {
23
23
React . useEffect ( ( ) => {
24
24
const t1 = setTimeout ( ( ) => {
25
25
setDisabled ( false )
26
- } , 2_400 )
26
+ } , 1_900 )
27
27
const t2 = setTimeout ( ( ) => {
28
28
inputRef . current ?. focus ( )
29
29
} , 2_500 )
@@ -73,12 +73,12 @@ export function Showcase({ className, ...props }: { className?: string }) {
73
73
< >
74
74
{ preloadConfetti === 1 && (
75
75
< div className = "hidden" >
76
- < DynamicConfetti />
76
+ { /* <DynamicConfetti /> */ }
77
77
</ div >
78
78
) }
79
79
{ hasGuessed && (
80
80
< div className = "fixed inset-0 z-50 pointer-events-none motion-reduce:hidden" >
81
- < DynamicConfetti />
81
+ { /* <DynamicConfetti /> */ }
82
82
</ div >
83
83
) }
84
84
You can’t perform that action at this time.
0 commit comments