1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: clear form on manual closing.

This commit is contained in:
Thomas Heartman 2022-02-28 23:33:48 +01:00
parent 74a3c27b06
commit f9561c3661

View File

@ -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}
>