diff --git a/src/components/organisms/IngredientAddModal.tsx b/src/components/organisms/IngredientAddModal.tsx index 85a479b..a28f5f5 100644 --- a/src/components/organisms/IngredientAddModal.tsx +++ b/src/components/organisms/IngredientAddModal.tsx @@ -14,8 +14,7 @@ const IngredientAddModal: React.FC<{ const [memoContent, setMemoContent] = useState(''); const { currentCount, handleIncreaseCount, handleDecreaseCount } = useCount(); - const toggleIsInFreezer: (e: React.MouseEvent) => void = (e) => { - e.stopPropagation(); + const toggleIsInFreezer: () => void = () => { setIsInFreezer((prev) => !prev); }; @@ -64,7 +63,7 @@ const IngredientAddModal: React.FC<{ svgComponent={} title="냉동보관" > - +