Skip to content

Commit

Permalink
fix(spindle-ui): remove closing className
Browse files Browse the repository at this point in the history
  • Loading branch information
lanberb committed Nov 25, 2022
1 parent b7b1df4 commit c603659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/spindle-ui/src/Modal/AppealModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const Frame = forwardRef<DialogHTMLElement, AppealModalProps>(
!event.pseudoElement // To exclude ::backdrop
) {
dialogEl.current.close && dialogEl.current.close();
setClosing(false);
}
},
[dialogEl],
Expand Down Expand Up @@ -107,6 +106,7 @@ const Frame = forwardRef<DialogHTMLElement, AppealModalProps>(
.trim()}
ref={mergeRefs([dialogEl, ref])}
onClick={handleDialogClick}
onClose={() => setClosing(false)}
{...rest}
>
<form
Expand Down

0 comments on commit c603659

Please sign in to comment.