File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,18 @@ function UnmemoizedParticlesBackground() {
24
24
const [ init , setInit ] = useState ( false ) ;
25
25
26
26
const classNameProps = getClassNameProps (
27
- 'fixed h-lvh w-lvh mix-blend-overlay transition-opacity ease-out duration-[2s]' ,
27
+ 'fixed h-lvh w-lvw mix-blend-overlay transition-opacity ease-out duration-[2s]' ,
28
28
init ? 'opacity-100' : 'opacity-0' , // Hide until loaded
29
29
) ;
30
- const tsParticlesConfig : RecursivePartial < IOptions > = {
30
+ const tsParticlesOptions : RecursivePartial < IOptions > = {
31
31
fpsLimit : 30 ,
32
32
smooth : false ,
33
33
pauseOnBlur : true ,
34
34
pauseOnOutsideViewport : true ,
35
35
detectRetina : true ,
36
+ fullScreen : {
37
+ enable : false ,
38
+ } ,
36
39
particles : {
37
40
color : {
38
41
value : THEME . neutral ,
@@ -84,7 +87,7 @@ function UnmemoizedParticlesBackground() {
84
87
} ) ;
85
88
} , [ ] ) ;
86
89
87
- return < Particles options = { tsParticlesConfig } { ...classNameProps } /> ;
90
+ return < Particles options = { tsParticlesOptions } { ...classNameProps } /> ;
88
91
}
89
92
90
93
// Never re-render this component
You can’t perform that action at this time.
0 commit comments