Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
k2xl committed Jun 17, 2024
1 parent 2235d2b commit 3c5c48a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/modal/reportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Modal from '.';
interface ReportModalProps {
targetId: string;
reportType: ReportType;

}

export default function ReportModal({ targetId, reportType }: ReportModalProps) {
Expand Down Expand Up @@ -46,6 +47,7 @@ export default function ReportModal({ targetId, reportType }: ReportModalProps)
}

toast.success('Review reported. Please allow some time for moderation!');
setModal(null);
};

useEffect(() => {
Expand Down

0 comments on commit 3c5c48a

Please sign in to comment.