diff --git a/frontend/src/components/Modal.tsx b/frontend/src/components/Modal.tsx index 9fafce81b5..a06734b0e3 100644 --- a/frontend/src/components/Modal.tsx +++ b/frontend/src/components/Modal.tsx @@ -15,40 +15,57 @@ const DialogComp: React.FC = ({ button, children, description, -}: ModalProps) => { +}) => { return ( - + - - {title} -

{description}

+ + + + {description && ( +

{description}

+ )}
- -

Summary

- + + +

Summary

+ + + {hint && ( -
-

- How to tackle it +

+

+ + How to tackle it

+
)} + {children} -
- + {button.icon} {button.label} +