From c6fce3bdae32d16a30732a60e2d4470922b50a7a Mon Sep 17 00:00:00 2001 From: AKSHAT2802 Date: Fri, 10 Jan 2025 11:12:43 +0530 Subject: [PATCH] fix: add array instead of selection list in allowed types. --- .../src/components/media-placeholder/stories/index.story.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/block-editor/src/components/media-placeholder/stories/index.story.js b/packages/block-editor/src/components/media-placeholder/stories/index.story.js index 2f00b5e9639348..60d0b289379e7f 100644 --- a/packages/block-editor/src/components/media-placeholder/stories/index.story.js +++ b/packages/block-editor/src/components/media-placeholder/stories/index.story.js @@ -21,9 +21,7 @@ const meta = { argTypes: { allowedTypes: { control: { type: 'array' }, - description: __( - 'Array of allowed media types for selection (e.g., "image", "audio").' - ), + description: __( 'Array of allowed media types for replacing.' ), table: { type: { summary: 'array' }, defaultValue: { summary: '["image"]' },