diff --git a/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx b/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx
index 039c2970a..2a3594a05 100644
--- a/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx
+++ b/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx
@@ -216,43 +216,46 @@ const PathAnalysisFilter = observer(({ metric, writeOption }: any) => {
};
return (
-
-
-
-
{t('Journeys With')}
-
-
+
+
+
+
{t('Journeys With')}
+
+
{t('showing')}
-
- {metric.startType === 'start' ? 'Start Point' : 'End Point'}
+ {metric.startType === 'start' ? t('Start Point') : t('End Point')}
{
);
});
-function PredefinedMessage() {
+const PredefinedMessage = () => {
const { t } = useTranslation();
return (
);
-}
+};
diff --git a/frontend/app/components/ui/Checkbox/Checkbox.tsx b/frontend/app/components/ui/Checkbox/Checkbox.tsx
index 8984ce6c6..ff1739b17 100644
--- a/frontend/app/components/ui/Checkbox/Checkbox.tsx
+++ b/frontend/app/components/ui/Checkbox/Checkbox.tsx
@@ -10,11 +10,3 @@ export default function (props: Props) {
const { className = '', label = '', ...rest } = props;
return {label};
}
-export default (props: Props) => {
- const { className = '', label, ...rest } = props;
- return (
-
- {label}
-
- );
-};