Skip to content

Commit

Permalink
feat: clear form on manual closing.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Feb 28, 2022
1 parent 74a3c27 commit f9561c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/src/components/UserFeedback/index.jsx
Expand Up @@ -417,7 +417,10 @@ export const FeedbackWrapper = ({ seedData, open }) => {
>
<div className={styles['close-button-row']}>
<button
onClick={() => setFeedbackIsOpen(false)}
onClick={() => {
setFeedbackIsOpen(false);
close();
}}
className={styles['close-button']}
disabled={!feedbackIsOpen}
>
Expand Down

0 comments on commit f9561c3

Please sign in to comment.