fix : UI update on Dialog.tsx

This commit is contained in:
sudharson-c 2024-08-13 06:58:31 +05:30
parent 4320a3cf41
commit 18dd77bed1

View file

@ -117,7 +117,6 @@ export const Dialog = (props: DialogProps) => {
<span className="Dialog__titleContent">{props.title}</span> <span className="Dialog__titleContent">{props.title}</span>
</h2> </h2>
)} )}
{isFullscreen && (
<button <button
className="Dialog__close" className="Dialog__close"
onClick={onClose} onClick={onClose}
@ -127,7 +126,6 @@ export const Dialog = (props: DialogProps) => {
> >
{CloseIcon} {CloseIcon}
</button> </button>
)}
<div className="Dialog__content">{props.children}</div> <div className="Dialog__content">{props.children}</div>
</Island> </Island>
</Modal> </Modal>