docs: removes type keyword from useFormFields import (#8091)

This commit is contained in:
Florian Quiblier
2024-09-12 18:38:14 +02:00
committed by GitHub
parent 59b6107e2d
commit 532e4b52fe

View File

@@ -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