diff --git a/src/components/ui/modal/modal.tsx b/src/components/ui/modal/modal.tsx index 9b7a131c5..b9255f3f4 100644 --- a/src/components/ui/modal/modal.tsx +++ b/src/components/ui/modal/modal.tsx @@ -100,87 +100,84 @@ const Modal = React.forwardRef(({
-
-
- {title && ( -
- {onBack && ( - - )} + {title && ( +
+
+ {onBack && ( + + )} -

- {title} -

+

+ {title} +

- {onClose && ( - - )} -
- )} - - {title ? ( -
- {children} -
- ) : children} -
-
- - {confirmationAction && ( - -
- {cancelAction && ( - + {onClose && ( + )}
- - - {secondaryAction && ( - - )} - - - -
+
)} +
+
+ {children} +
+ + {confirmationAction && ( + +
+ {cancelAction && ( + + )} +
+ + + {secondaryAction && ( + + )} + + + +
+ )} +
); });