diff --git a/frontend/src/views/DashboardPage/components/SecretDropzone/SecretDropzone.tsx b/frontend/src/views/DashboardPage/components/SecretDropzone/SecretDropzone.tsx index 00711c3a6..4cf4a1f67 100644 --- a/frontend/src/views/DashboardPage/components/SecretDropzone/SecretDropzone.tsx +++ b/frontend/src/views/DashboardPage/components/SecretDropzone/SecretDropzone.tsx @@ -15,7 +15,7 @@ import { yupResolver } from "@hookform/resolvers/yup"; import { twMerge } from "tailwind-merge"; import * as yup from "yup"; -import SecretPathExamples from "@app/components/basic/popups/SecretPathExamples"; +import GlobPatternExamples from "@app/components/basic/popups/GlobPatternExamples"; import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider"; import { ProjectPermissionCan } from "@app/components/permissions"; // TODO:(akhilmhdh) convert all the util functions like this into a lib folder grouped by functionality @@ -329,7 +329,7 @@ export const SecretDropzone = ({ label="Secret Path" className="flex-grow" isRequired - icon={} + icon={} > Secret Path - + diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx index ee368e2d1..bf60372ef 100644 --- a/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx +++ b/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx @@ -3,7 +3,7 @@ import { Controller, useForm } from "react-hook-form"; import { yupResolver } from "@hookform/resolvers/yup"; import * as yup from "yup"; -import SecretPathExamples from "@app/components/basic/popups/SecretPathExamples"; +import GlobPatternExamples from "@app/components/basic/popups/GlobPatternExamples"; import { Button, FormControl, @@ -86,7 +86,7 @@ export const AddWebhookForm = ({ /> } + icon={} isRequired isError={Boolean(errors?.secretPath)} errorText={errors?.secretPath?.message}