chore: clean up console modal component (#3395)
* chore: cleanup console modal component * chore: cleanup unused import
This commit is contained in:
parent
701d78cebd
commit
8b51d7fe75
@ -33,13 +33,16 @@ const Modal = ({
|
||||
<DialogPrimitive.Portal>
|
||||
<DialogPrimitive.Overlay className="modal__overlay" />
|
||||
<DialogPrimitive.Content
|
||||
aria-describedby={undefined}
|
||||
className={twMerge(
|
||||
'modal__content',
|
||||
fullPage && 'modal__content--fullpage',
|
||||
className
|
||||
)}
|
||||
>
|
||||
<div className="modal__title">{title}</div>
|
||||
<DialogPrimitive.Title className="modal__title">
|
||||
{title}
|
||||
</DialogPrimitive.Title>
|
||||
{content}
|
||||
{!hideClose && (
|
||||
<ModalClose asChild>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user