Skip to content

Commit e3accb9

Browse files
authored
Revert CardModal state when cancel button is clicked (#99)
1 parent ea48fdc commit e3accb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/formBuilder/CardModal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export default function CardModal({
9797
<Button
9898
onClick={() => {
9999
onClose();
100+
setComponentProps(componentProps);
100101
}}
101102
color='secondary'
102103
>

0 commit comments

Comments
 (0)