We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03b0fda commit 03c43d5Copy full SHA for 03c43d5
src/components/animatedModal/AnimatedModal.tsx
@@ -158,7 +158,7 @@ const AnimatedModal = forwardRef(
158
id="animated-modal-background"
159
onClick={props.closeOnBackgroundClick ? onBackgroundClick : undefined}>
160
<div id="animated-modal">
161
- {props.animation === ModalAnimation.Sketch ? sketchSVG() : undefined}
+ {modalClass.includes(ModalAnimation.Sketch) ? sketchSVG() : undefined}
162
<div id="modal-content">{props.children ? props.children : defaultModal()}</div>
163
</div>
164
0 commit comments