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.Portal>
|
||||||
<DialogPrimitive.Overlay className="modal__overlay" />
|
<DialogPrimitive.Overlay className="modal__overlay" />
|
||||||
<DialogPrimitive.Content
|
<DialogPrimitive.Content
|
||||||
|
aria-describedby={undefined}
|
||||||
className={twMerge(
|
className={twMerge(
|
||||||
'modal__content',
|
'modal__content',
|
||||||
fullPage && 'modal__content--fullpage',
|
fullPage && 'modal__content--fullpage',
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="modal__title">{title}</div>
|
<DialogPrimitive.Title className="modal__title">
|
||||||
|
{title}
|
||||||
|
</DialogPrimitive.Title>
|
||||||
{content}
|
{content}
|
||||||
{!hideClose && (
|
{!hideClose && (
|
||||||
<ModalClose asChild>
|
<ModalClose asChild>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user