zRains commented on code in PR #4030:
URL: https://github.com/apache/ambari/pull/4030#discussion_r2178885119
##########
ambari-web/latest/src/components/Modal.tsx:
##########
@@ -89,7 +91,7 @@ export default function Modal({
<h2>{modalTitle}</h2>
</ReactModal.Title>
</ReactModal.Header>
- <ReactModal.Body>
+ <ReactModal.Body className={`${modalBodyClassName}`}>
Review Comment:
[clsx](https://www.npmjs.com/package/clsx) provides a more effective
solution for handling dynamic className.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]