mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-09 12:34:02 +08:00
feat: complete the missing UI
This commit is contained in:
@@ -215,7 +215,18 @@ const Modal = (props: ModalProps) => {
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{type === "modal" && <div className="flex-1"> </div>}
|
||||
{type === "modal" && (
|
||||
<div
|
||||
className="flex-1"
|
||||
onClick={() => {
|
||||
if (maskCloseble) {
|
||||
handleClose();
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
||||
</div>
|
||||
)}
|
||||
</AlertDialog.Content>
|
||||
</AlertDialog.Portal>
|
||||
</AlertDialog.Root>
|
||||
|
Reference in New Issue
Block a user