We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 631f8f8 commit caf2945Copy full SHA for caf2945
2 files changed
src/client/components/ConfirmModal.tsx
@@ -1,7 +1,7 @@
1
interface IModalProps {
2
dialogRef: React.RefObject<HTMLDialogElement | null>;
3
title: string;
4
- description: string;
+ description: React.ReactNode;
5
onConfirm: () => void;
6
}
7
src/client/layout/Header.tsx
@@ -58,7 +58,13 @@ const Navbar: React.FC = () => {
58
<ConfirmModal
59
dialogRef={resetCtfDialogRef}
60
title="Reset CTF"
61
- description="This will reset the CTF to its original status (usually it will perform some cleanup and uninstall/reinstall the app. Are you sure?"
+ description={
62
+ <>
63
+ This will reset the CTF to its original status (usually it will perform some cleanup and uninstall/reinstall
64
+ the app). <br />
65
+ Are you sure?
66
+ </>
67
+ }
68
onConfirm={reset}
69
/>
70
0 commit comments