mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-31 15:56:49 -05:00
ensure confirm update closes on click
This commit is contained in:
@@ -33,7 +33,14 @@ export const ConfirmUpdate = ({ content, onConfirm }: ConfirmUpdateProps) => {
|
||||
<pre className="h-[300px] overflow-auto">{content}</pre>
|
||||
</div>
|
||||
<DialogFooter>
|
||||
<Button variant="outline" intent="success" onClick={onConfirm}>
|
||||
<Button
|
||||
variant="outline"
|
||||
intent="success"
|
||||
onClick={() => {
|
||||
onConfirm();
|
||||
set(false);
|
||||
}}
|
||||
>
|
||||
Confirm
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
|
||||
Reference in New Issue
Block a user