Skip to content

Commit 8aafc2a

Browse files
committed
fix eslint warnings
1 parent 90ab79c commit 8aafc2a

File tree

3 files changed

+7
-7
lines changed
  • features/admin.flow-builder-core.v1/components/resource-property-panel/rich-text/helper-plugins
  • modules/i18n/src

3 files changed

+7
-7
lines changed

features/admin.flow-builder-core.v1/components/resource-property-panel/rich-text/helper-plugins/link-plugin.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ import { $isLinkNode, TOGGLE_LINK_COMMAND } from "@lexical/link";
2020
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
2121
import { mergeRegister } from "@lexical/utils";
2222
import Button from "@oxygen-ui/react/Button";
23+
import Checkbox from "@oxygen-ui/react/Checkbox";
24+
import FormControlLabel from "@oxygen-ui/react/FormControlLabel";
2325
import IconButton from "@oxygen-ui/react/IconButton";
2426
import MenuItem from "@oxygen-ui/react/MenuItem";
2527
import Select from "@oxygen-ui/react/Select";
2628
import TextField from "@oxygen-ui/react/TextField";
27-
import Checkbox from "@oxygen-ui/react/Checkbox";
28-
import FormControlLabel from "@oxygen-ui/react/FormControlLabel";
2929
import { PenToSquareIcon } from "@oxygen-ui/react-icons";
3030
import {
3131
$getSelection,
@@ -479,14 +479,14 @@ const LinkEditor = (): ReactElement => {
479479
} }
480480
/>
481481
<FormControlLabel
482-
control={
482+
control={ (
483483
<Checkbox
484484
checked={ openInNewTab }
485485
onChange={ (event: ChangeEvent<HTMLInputElement>) => {
486486
setOpenInNewTab(event.target.checked);
487487
} }
488488
/>
489-
}
489+
) }
490490
label={ t("flows:core.elements.richText.linkEditor.openInNewTab") }
491491
/>
492492
<Button

modules/i18n/src/models/namespaces/flows-ns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export interface flowsNS {
6363
privacyPolicyUrl: string;
6464
termsOfUseUrl: string;
6565
};
66-
urlTypeLabel: string;
6766
openInNewTab: string;
67+
urlTypeLabel: string;
6868
};
6969
placeholder: string;
7070
};

modules/i18n/src/translations/en-US/portals/flows.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export const flows: flowsNS = {
5555
supportEmail: "Contact Support Email",
5656
termsOfUseUrl: "Terms of Use URL"
5757
},
58-
urlTypeLabel: "URL Type",
59-
openInNewTab: "Open in new tab"
58+
openInNewTab: "Open in new tab",
59+
urlTypeLabel: "URL Type"
6060
},
6161
placeholder: "Enter rich text content here..."
6262
},

0 commit comments

Comments
 (0)