From 63247d0ccbe4e6dd5db6b01ef89309c859ad87ac Mon Sep 17 00:00:00 2001 From: Luigi Teschio Date: Tue, 26 Nov 2024 11:51:41 +0100 Subject: [PATCH] fix comment --- .../fields/src/components/create-template-part-modal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fields/src/components/create-template-part-modal/index.tsx b/packages/fields/src/components/create-template-part-modal/index.tsx index 8bcf97f62bc24d..a1d18727d42be7 100644 --- a/packages/fields/src/components/create-template-part-modal/index.tsx +++ b/packages/fields/src/components/create-template-part-modal/index.tsx @@ -127,7 +127,7 @@ export function CreateTemplatePartModalContents( { const defaultTemplatePartAreas = useSelect( ( select ) => { const areas = - // @ts-expect-error The default_template_part_areas is not part of the core store type. + // @ts-expect-error getEntityRecord is not typed with unstableBase as argument. select( coreStore ).getEntityRecord< { default_template_part_areas: Array< { area: string;