We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 332eb1a commit 93bed95Copy full SHA for 93bed95
src/components/prompt/prompt.jsx
@@ -55,21 +55,13 @@ const PromptComponent = props => props.isCustom ? (
55
className={styles.cancelButton}
56
onClick={props.onCancel}
57
>
58
- <FormattedMessage
59
- defaultMessage={props.closeTitle}
60
- description="Button in prompt for cancelling the dialog"
61
- id="gui.prompt.cancel"
62
- />
+ {props.closeTitle}
63
</button>
64
<button
65
className={styles.okButton}
66
onClick={props.onOk}
67
68
69
- defaultMessage={props.enterTitle}
70
- description="Button in prompt for confirming the dialog"
71
- id="gui.prompt.ok"
72
+ {props.enterTitle}
73
74
</Box>
75
0 commit comments