Skip to content

Commit

Permalink
fix: remove classname from primary modal
Browse files Browse the repository at this point in the history
  • Loading branch information
arjita-mitra committed May 15, 2023
1 parent 9f7a23f commit 774e430
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/script/components/Modals/PrimaryModal/PrimaryModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,7 @@ export const PrimaryModalComponent: FC = () => {
{(messageHtml || messageText) && (
<div className="modal__text" data-uie-name="status-modal-text">
{messageHtml && <p id="modal-description-html" dangerouslySetInnerHTML={{__html: messageHtml}} />}
{messageText && (
<p id="modal-description-text" className="modal-description">
{messageText}
</p>
)}
{messageText && <p id="modal-description-text">{messageText}</p>}
</div>
)}

Expand Down

0 comments on commit 774e430

Please sign in to comment.