Skip to content

Commit

Permalink
Update in-app-action-dropdown.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Jan 12, 2025
1 parent 132f5d2 commit 6e7d175
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apps/dashboard/src/components/in-app-action-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ import { Popover, PopoverContent, PopoverTrigger } from '@/components/primitives
import { Separator } from '@/components/primitives/separator';
import { URLInput } from '@/components/workflow-editor/url-input';
import { useWorkflow } from '@/components/workflow-editor/workflow-provider';
import { completions } from '@/utils/liquid-autocomplete';
import { parseStepVariablesToLiquidVariables } from '@/utils/parseStepVariablesToLiquidVariables';
import { cn } from '@/utils/ui';
import { urlTargetTypes } from '@/utils/url';
import { autocompletion } from '@codemirror/autocomplete';
import { EditorView } from '@uiw/react-codemirror';
import merge from 'lodash.merge';
import { ComponentProps, useMemo } from 'react';
import { useFormContext, useWatch } from 'react-hook-form';
Expand Down Expand Up @@ -173,10 +170,6 @@ const ConfigureActionPopover = (props: ComponentProps<typeof PopoverTrigger> & {
const { control } = useFormContext();
const { step } = useWorkflow();
const variables = useMemo(() => (step ? parseStepVariablesToLiquidVariables(step.variables) : []), [step]);
const extensions = useMemo(
() => [autocompletion({ override: [completions(variables)] }), EditorView.lineWrapping],
[variables]
);

return (
<Popover>
Expand Down

0 comments on commit 6e7d175

Please sign in to comment.