diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..7a73a41 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/src/app/marketing/create/_components/BenefitsStep.tsx b/src/app/marketing/create/_components/BenefitsStep.tsx index 9265bba..1b3e527 100644 --- a/src/app/marketing/create/_components/BenefitsStep.tsx +++ b/src/app/marketing/create/_components/BenefitsStep.tsx @@ -33,7 +33,7 @@ const BenefitsStep = forwardRef((props, ref) => { append={append} remove={remove} control={control} - fieldName="benefits" + fieldName="cards" defaultValues={{ icon: "", title: "", description: "" }} /> ); diff --git a/src/app/marketing/create/_components/ChallengesStep.tsx b/src/app/marketing/create/_components/ChallengesStep.tsx index 4cca940..8bdc53e 100644 --- a/src/app/marketing/create/_components/ChallengesStep.tsx +++ b/src/app/marketing/create/_components/ChallengesStep.tsx @@ -33,7 +33,7 @@ const ChallengesStep = forwardRef((props, ref) => { append={append} remove={remove} control={control} - fieldName="challenges" + fieldName="cards" defaultValues={{ icon: "", title: "", description: "" }} /> ); diff --git a/src/app/marketing/create/_components/ChartStep.tsx b/src/app/marketing/create/_components/ChartStep.tsx index 14d5eb5..f34bddd 100644 --- a/src/app/marketing/create/_components/ChartStep.tsx +++ b/src/app/marketing/create/_components/ChartStep.tsx @@ -25,8 +25,8 @@ const ChartStep = forwardRef((props, ref) => { getData: () => getValues(), })); - const chartTitle = watch("chart_title"); - const chartPoints = watch("chart_points"); + const chartTitle = watch("title"); + const chartData = watch("data"); return (