Skip to content

Commit

Permalink
Merge pull request #19923 from storybookjs/fix/next
Browse files Browse the repository at this point in the history
remove the export that was missing
  • Loading branch information
ndelangen authored Nov 22, 2022
2 parents d491ad3 + a397b8b commit c0bfc95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/ui/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions code/ui/manager/src/components/preview/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -85,7 +85,7 @@ const createCanvas = (id: string, baseUrl = 'iframe.html', withLoader = true): A
<>
{withLoader && isLoading && (
<S.LoaderWrapper>
<PureLoader id="preview-loader" role="progressbar" progress={progress} />
<Loader id="preview-loader" role="progressbar" progress={progress} />
</S.LoaderWrapper>
)}
<ApplyWrappers
Expand Down
1 change: 0 additions & 1 deletion code/ui/manager/src/globals/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export default {
'P',
'Placeholder',
'Pre',
'PureLoader',
'ResetWrapper',
'ScrollArea',
'Separator',
Expand Down

0 comments on commit c0bfc95

Please sign in to comment.