From 531d1e07b7479b1f61c847d07dcce6f0cac2daab Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 11 Mar 2025 14:05:28 +0100 Subject: [PATCH] Preact Renderer: Update import path for preview-api from internal to direct package import --- code/renderers/preact/src/portable-stories.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/renderers/preact/src/portable-stories.ts b/code/renderers/preact/src/portable-stories.ts index cc9ca05a262..ce397272b58 100644 --- a/code/renderers/preact/src/portable-stories.ts +++ b/code/renderers/preact/src/portable-stories.ts @@ -1,12 +1,13 @@ -import { - setProjectAnnotations as originalSetProjectAnnotations, - setDefaultProjectAnnotations, -} from 'storybook/internal/preview-api'; import type { NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, } from 'storybook/internal/types'; +import { + setProjectAnnotations as originalSetProjectAnnotations, + setDefaultProjectAnnotations, +} from 'storybook/preview-api'; + import * as INTERNAL_DEFAULT_PROJECT_ANNOTATIONS from './entry-preview'; import type { PreactRenderer } from './types';