diff --git a/packages/block-library/src/calendar/edit.js b/packages/block-library/src/calendar/edit.js index a60a18d8eeae8e..2d8bbac44f877a 100644 --- a/packages/block-library/src/calendar/edit.js +++ b/packages/block-library/src/calendar/edit.js @@ -33,7 +33,7 @@ const getYearMonth = memoize( ( date ) => { }; } ); -export default function CalendarEdit( { attributes } ) { +export default function CalendarEdit() { const blockProps = useBlockProps(); const { date, hasPosts, hasPostsResolved } = useSelect( ( select ) => { const { getEntityRecords, hasFinishedResolution } = select( coreStore ); @@ -95,7 +95,7 @@ export default function CalendarEdit( { attributes } ) {