diff --git a/frontend/src/components/common/CreateResourceButton.tsx b/frontend/src/components/common/CreateResourceButton.tsx index c6ce0e53f6d..4fb7fc31f9e 100644 --- a/frontend/src/components/common/CreateResourceButton.tsx +++ b/frontend/src/components/common/CreateResourceButton.tsx @@ -120,7 +120,7 @@ export function CreateResourceButton(props: CreateResourceButtonProps) { throw msg; } }); - }, + } ); }; @@ -167,7 +167,7 @@ export function CreateResourceButton(props: CreateResourceButtonProps) { newItemName: resourceNames.join(','), }), cancelUrl, - }), + }) ); dispatchCreateEvent({ diff --git a/frontend/src/components/common/Resource/EditorDialog.tsx b/frontend/src/components/common/Resource/EditorDialog.tsx index b97890935e2..a476bd3055f 100644 --- a/frontend/src/components/common/Resource/EditorDialog.tsx +++ b/frontend/src/components/common/Resource/EditorDialog.tsx @@ -81,7 +81,7 @@ export default function EditorDialog(props: EditorDialogProps) { const codeRef = React.useRef(code); const lastCodeCheckHandler = React.useRef(0); const previousVersionRef = React.useRef( - isKubeObjectIsh(item) ? item?.metadata?.resourceVersion || '' : '', + isKubeObjectIsh(item) ? item?.metadata?.resourceVersion || '' : '' ); const [error, setError] = React.useState(''); const [docSpecs, setDocSpecs] = React.useState< @@ -402,7 +402,7 @@ export default function EditorDialog(props: EditorDialogProps) { onConfirm={onUndo} confirmTitle={t('translation|Are you sure?')} confirmDescription={t( - 'This will discard your changes in the editor. Do you want to proceed?', + 'This will discard your changes in the editor. Do you want to proceed?' )} // @todo: aria-controls should point to the textarea id >