File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1658,6 +1658,8 @@ function PdfRequestFiles(props) {
1658
1658
< Confetti
1659
1659
width = { window . innerWidth }
1660
1660
height = { window . innerHeight }
1661
+ recycle = { false } // Prevents confetti from repeating
1662
+ gravity = { 0.1 } // Adjust the gravity to control the speed
1661
1663
/>
1662
1664
</ div >
1663
1665
) }
Original file line number Diff line number Diff line change @@ -1190,7 +1190,12 @@ function SignYourSelf() {
1190
1190
) }
1191
1191
{ isCelebration && (
1192
1192
< div className = "relative z-[1000]" >
1193
- < Confetti width = { window . innerWidth } height = { window . innerHeight } />
1193
+ < Confetti
1194
+ width = { window . innerWidth }
1195
+ height = { window . innerHeight }
1196
+ recycle = { false } // Prevents confetti from repeating
1197
+ gravity = { 0.1 } // Adjust the gravity to control the speed
1198
+ />
1194
1199
</ div >
1195
1200
) }
1196
1201
< div className = "relative op-card overflow-hidden flex flex-col md:flex-row justify-between bg-base-300" >
Original file line number Diff line number Diff line change @@ -1129,7 +1129,12 @@ const ReportTable = (props) => {
1129
1129
< div className = "p-2 w-full overflow-auto bg-base-100 text-base-content op-card shadow-lg" >
1130
1130
{ isCelebration && (
1131
1131
< div className = "relative z-[1000]" >
1132
- < Confetti width = { window . innerWidth } height = { window . innerHeight } />
1132
+ < Confetti
1133
+ width = { window . innerWidth }
1134
+ height = { window . innerHeight }
1135
+ recycle = { false } // Prevents confetti from repeating
1136
+ gravity = { 0.1 } // Adjust the gravity to control the speed
1137
+ />
1133
1138
</ div >
1134
1139
) }
1135
1140
{ isAlert && < Alert type = { alertMsg . type } > { alertMsg . message } </ Alert > }
You can’t perform that action at this time.
0 commit comments