Skip to content

Commit

Permalink
fix: reset input after deleting contributor insight list (#3600)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Jun 29, 2024
2 parents eb2e278 + 2ac7a39 commit 2a2ac76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/organisms/ListPage/DeleteListPageModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const DeleteListPageModal: FC<ModalProps> = ({
const handleOnConfirm = async () => {
if (input !== listName) return;
await onConfirm();
setInput("");
};

const disabled = input !== listName || submitted;
Expand Down

0 comments on commit 2a2ac76

Please sign in to comment.