Skip to content

Commit

Permalink
feat: Remove unused value
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilsang committed Aug 20, 2023
1 parent f89a89d commit e24144b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/features/shared/modal/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ const ModalContainer = () => {
const [previewMood] = useAtom(previewMoodAtom);
const resetModal = useResetAtom(modalAtom);

console.log(previewMood);
if (!modal.open) return null;
const { imageType, onClose, title, description, footer, onConfirm } =
modal as Modal;
const { imageType, onClose, title, description, onConfirm } = modal as Modal;

const imageSrc = (() => {
switch (imageType) {
Expand Down

0 comments on commit e24144b

Please sign in to comment.