Skip to content

Commit 500ae8f

Browse files
fix: confirm modal looking goofy? NoRiskClient/issues#1811
1 parent b714167 commit 500ae8f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "NoRisk Launcher",
4-
"version": "0.6.7-beta.3",
4+
"version": "0.6.7-beta.4",
55
"identifier": "gg.norisk.NoRiskClientLauncherV3",
66
"build": {
77
"beforeDevCommand": "yarn dev",

src/hooks/useConfirmDialog.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,14 @@ export function useConfirmDialog() {
152152
);
153153
const confirmDialog =
154154
isMounted && isOpen
155-
? createPortal( <Modal
155+
? createPortal(
156+
<Modal
156157
title={options.title}
157158
onClose={handleClose}
158159
width="md"
160+
footer={renderFooter()}
159161
>
160162
{renderContent()}
161-
{renderFooter()}
162163
</Modal>,
163164
document.body,
164165
)

0 commit comments

Comments
 (0)