diff --git a/blocks/email-settings/edit.tsx b/blocks/email-settings/edit.tsx
index 50e832a..2fbef33 100644
--- a/blocks/email-settings/edit.tsx
+++ b/blocks/email-settings/edit.tsx
@@ -92,7 +92,7 @@ export default function Edit() {
       newBlocks = [...parsedContentFromTemplate];
     }
 
-    // @ts-ignore
+    // @ts-expect-error
     dispatch('core/block-editor').resetBlocks(newBlocks);
   };
 
diff --git a/blocks/section/edit.tsx b/blocks/section/edit.tsx
index 75334c6..3d2c818 100644
--- a/blocks/section/edit.tsx
+++ b/blocks/section/edit.tsx
@@ -96,7 +96,7 @@ export default function Edit({
   const handleSelect = (posts: number[]) => {
     postBlocks.forEach((id: string) => {
       const postId = posts.shift();
-      // @ts-ignore
+      // @ts-expect-error
       dispatch('core/block-editor').updateBlockAttributes(id, { postId });
     });
   };
@@ -104,7 +104,7 @@ export default function Edit({
   useEffect(() => {
     if (showNumbers) {
       postBlocks.forEach((id: string, index: number) => {
-        // @ts-ignore
+        // @ts-expect-error
         dispatch('core/block-editor').updateBlockAttributes(id, { number: index + 1 });
       });
     }
@@ -124,18 +124,16 @@ export default function Edit({
         <InnerBlocks />
       </div>
       <InspectorControls>
-        { /* @ts-ignore */}
         <PanelBody
           title={__('Post Selection', 'wp-newsletter-builder')}
           initialOpen
         >
-          { /* @ts-ignore */}
           <PanelRow>
             <MultiplePostPicker
               onUpdate={handleSelect}
               allowedTypes={allowedPostTypes}
               params={{ after: cutoff.toISOString(), per_page: 20 }}
-              // @ts-ignore
+              // @ts-expect-error
               searchRender={PostPickerResult}
             />
           </PanelRow>