We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f011e4f commit 4d54cc6Copy full SHA for 4d54cc6
templates/website/src/fields/slug/SlugComponent.tsx
@@ -38,7 +38,7 @@ export const SlugComponent: React.FC<SlugComponentProps> = ({
38
})
39
40
const fieldToUseValue = useFormFields(([fields, dispatch]) => {
41
- return fields[fieldToUse].value as string
+ return fields[fieldToUse]?.value as string
42
43
44
useEffect(() => {
0 commit comments