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: dev-unsubscr...@ambari.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org
For additional commands, e-mail: dev-h...@ambari.apache.org

Reply via email to