From 532e4b52fedc47df3c85ee708c7d4a28687e696b Mon Sep 17 00:00:00 2001 From: Florian Quiblier <1737124+fofoy@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:38:14 +0200 Subject: [PATCH] docs: removes type keyword from useFormFields import (#8091) --- docs/admin/hooks.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/hooks.mdx b/docs/admin/hooks.mdx index 0e9f0c5bc..6648399d9 100644 --- a/docs/admin/hooks.mdx +++ b/docs/admin/hooks.mdx @@ -113,7 +113,7 @@ You can pass a Redux-like selector into the hook, which will ensure that you ret ```tsx 'use client' -import type { useFormFields } from '@payloadcms/ui' +import { useFormFields } from '@payloadcms/ui' const MyComponent: React.FC = () => { // Get only the `amount` field state, and only cause a rerender when that field changes