diff --git a/components/form/static-page/static-page-edit-form.tsx b/components/form/static-page/static-page-edit-form.tsx index a079dfc..e4f259a 100644 --- a/components/form/static-page/static-page-edit-form.tsx +++ b/components/form/static-page/static-page-edit-form.tsx @@ -114,12 +114,12 @@ export default function StaticPageBuilderEdit() { } }); } - const title = watch("title"); - useEffect(() => { - if (getValues("title")) { - setValue("slug", createSlug(getValues("title"))); - } - }, [title]); + // const title = watch("title"); + // useEffect(() => { + // if (getValues("title")) { + // setValue("slug", createSlug(getValues("title"))); + // } + // }, [title]); return (