Commit d8c31def authored by Thibaut Sardan's avatar Thibaut Sardan
Browse files

use React.Fragment

parent 6a1a3ae1
Pipeline #44430 canceled with stage
......@@ -17,7 +17,7 @@ export const Modal = ({
title,
visible
}) => (
<div className='alert-wrapper'>
<React.Fragment>
<SUIModal
className={`alert-screen-wrapper ${fullscreen ? '-full-screen' : ''}`}
open={visible}
......@@ -43,7 +43,7 @@ export const Modal = ({
</div>
</SUIModal>
{children}
</div>
</React.Fragment>
);
Modal.propTypes = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment