diff --git a/frontend/src/components/contents/ContentDialog.tsx b/frontend/src/components/contents/ContentDialog.tsx index e8a48773..8b2e965a 100644 --- a/frontend/src/components/contents/ContentDialog.tsx +++ b/frontend/src/components/contents/ContentDialog.tsx @@ -234,9 +234,7 @@ export const ContentDialog: FC = ({ name={contentField.name} control={control} defaultValue={ - content - ? content?.["dynamicFields"]?.[contentField.name] - : null + content ? content["dynamicFields"][contentField.name] : null } rules={ contentField.name === "title"