diff --git a/apps/dashboard/src/components/primitives/form/avatar-picker.tsx b/apps/dashboard/src/components/primitives/form/avatar-picker.tsx index 186ff653ead..c19a0e1b72a 100644 --- a/apps/dashboard/src/components/primitives/form/avatar-picker.tsx +++ b/apps/dashboard/src/components/primitives/form/avatar-picker.tsx @@ -52,7 +52,7 @@ export const AvatarPicker = forwardRef(({ n
-
{(avatar || subject) && ( -
+
{avatar && getComponentByType({ component: avatar.component })} {subject && getComponentByType({ component: subject.component })}
diff --git a/apps/dashboard/src/components/workflow-editor/url-input.tsx b/apps/dashboard/src/components/workflow-editor/url-input.tsx index a19821891fe..1e2f35d29ca 100644 --- a/apps/dashboard/src/components/workflow-editor/url-input.tsx +++ b/apps/dashboard/src/components/workflow-editor/url-input.tsx @@ -1,5 +1,4 @@ import { liquid } from '@codemirror/lang-liquid'; -import { EditorView } from '@uiw/react-codemirror'; import { useFormContext } from 'react-hook-form'; import { Editor } from '@/components/primitives/editor'; @@ -34,14 +33,14 @@ export const URLInput = ({ return (
-
+
( - + {asEditor ? (