Skip to content

Commit 6034fdb

Browse files
authored
Remove a translation console error message (#860)
Signed-off-by: David BRAQUART <[email protected]>
1 parent 3b66ec6 commit 6034fdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/dialogs/elementSaveDialog/ElementSaveDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ export function ElementSaveDialog({
335335
<RadioInput
336336
name={FieldConstants.OPERATION_TYPE}
337337
options={[
338-
{ id: OperationType.CREATE, label: intl.formatMessage({ id: createLabelId }) },
339-
{ id: OperationType.UPDATE, label: intl.formatMessage({ id: updateLabelId }) },
338+
{ id: OperationType.CREATE, label: createLabelId ?? 'createLabelId' },
339+
{ id: OperationType.UPDATE, label: updateLabelId ?? 'updateLabelId' },
340340
]}
341341
formProps={{
342342
sx: {

0 commit comments

Comments
 (0)