From 15a49b4644cb792d48f81fb9a46177d87b0f208f Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Thu, 9 May 2024 11:30:54 +0200 Subject: [PATCH] remove link to missing portable stories docs --- .../src/modules/store/csf/portable-stories.test.ts | 3 +-- .../preview-api/src/modules/store/csf/portable-stories.ts | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts b/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts index 9322d3c9d2a3..6babf08285ec 100644 --- a/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts +++ b/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts @@ -292,8 +292,7 @@ describe('composeStory', () => { ` "Some stories were not cleaned up before rendering 'Unnamed Story (firstArg, secondArg)'. - You should load the story with \`await Story.load()\` before rendering it. - See https://storybook.js.org/docs/api/portable-stories-vitest#3-load for more information." + You should load the story with \`await Story.load()\` before rendering it." ` ); }); diff --git a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts b/code/lib/preview-api/src/modules/store/csf/portable-stories.ts index a4385605685e..056daa5dcbcb 100644 --- a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts +++ b/code/lib/preview-api/src/modules/store/csf/portable-stories.ts @@ -142,11 +142,10 @@ export function composeStory