From 78a090f8f9b8c20fb3de58cff65443ea389eb556 Mon Sep 17 00:00:00 2001 From: Sainath Poojary Date: Mon, 16 Dec 2024 16:34:06 +0530 Subject: [PATCH] DateFormatPicker: Swap import order and update prop type in DateFormatPicker story --- .../date-format-picker/stories/index.story.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/block-editor/src/components/date-format-picker/stories/index.story.js b/packages/block-editor/src/components/date-format-picker/stories/index.story.js index 2acd11791c0f29..12d7e071054949 100644 --- a/packages/block-editor/src/components/date-format-picker/stories/index.story.js +++ b/packages/block-editor/src/components/date-format-picker/stories/index.story.js @@ -1,12 +1,12 @@ /** - * Internal dependencies + * WordPress dependencies */ -import DateFormatPicker from '../'; +import { useState } from '@wordpress/element'; /** - * WordPress dependencies + * Internal dependencies */ -import { useState } from '@wordpress/element'; +import DateFormatPicker from '../'; export default { title: 'BlockEditor/DateFormatPicker', @@ -34,7 +34,7 @@ export default { description: 'The selected date format. If `null`, _Default_ is selected.', table: { - type: { summary: 'string' }, + type: { summary: 'string | null' }, }, }, onChange: {