From a397b8bf92ddafb9b094d4a4635b8e664d5161ee Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 22 Nov 2022 15:48:06 +0100 Subject: [PATCH] remove the export that was missing --- code/ui/components/src/index.ts | 2 +- code/ui/manager/src/components/preview/preview.tsx | 4 ++-- code/ui/manager/src/globals/exports.ts | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/code/ui/components/src/index.ts b/code/ui/components/src/index.ts index 14f9e1681de..e2b6ef98416 100644 --- a/code/ui/components/src/index.ts +++ b/code/ui/components/src/index.ts @@ -72,7 +72,7 @@ export { StorybookLogo } from './brand/StorybookLogo'; export { StorybookIcon } from './brand/StorybookIcon'; // Loader -export { Loader, PureLoader } from './Loader/Loader'; +export { Loader } from './Loader/Loader'; // Utils export { getStoryHref } from './utils/getStoryHref'; diff --git a/code/ui/manager/src/components/preview/preview.tsx b/code/ui/manager/src/components/preview/preview.tsx index d266fb6b3de..df5c926cb14 100644 --- a/code/ui/manager/src/components/preview/preview.tsx +++ b/code/ui/manager/src/components/preview/preview.tsx @@ -6,7 +6,7 @@ import { type API, Consumer, type Combo, merge } from '@storybook/api'; import { PREVIEW_BUILDER_PROGRESS, SET_CURRENT_STORY } from '@storybook/core-events'; import { addons, types, type Addon } from '@storybook/addons'; -import { PureLoader } from '@storybook/components'; +import { Loader } from '@storybook/components'; import { Location } from '@storybook/router'; import * as S from './utils/components'; @@ -85,7 +85,7 @@ const createCanvas = (id: string, baseUrl = 'iframe.html', withLoader = true): A <> {withLoader && isLoading && ( - + )}