From deaf1a057a4ddd565ea797622e2bd6fbff061bbe Mon Sep 17 00:00:00 2001 From: chen fan <1490040662@qq.com> Date: Tue, 29 Oct 2024 19:28:18 +0800 Subject: [PATCH] fix: ts error --- src/renderer/src/components/Confetti.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/Confetti.tsx b/src/renderer/src/components/Confetti.tsx index d95a647..7cd958a 100644 --- a/src/renderer/src/components/Confetti.tsx +++ b/src/renderer/src/components/Confetti.tsx @@ -5,7 +5,7 @@ import { useConfettiStore } from '@renderer/store/useConfettiStore' export default function Confetti() { const { width, height } = useWindowSize() - const { showConfetti, numberOfPieces } = useConfettiStore() + const { showConfetti } = useConfettiStore() return (