Skip to content

Commit

Permalink
Merge pull request #22134 from manbearwiz/fix/angular-use-preview-api
Browse files Browse the repository at this point in the history
fix(angular): removing deprecated import to fix storyshots
  • Loading branch information
valentinpalkovic authored Apr 27, 2023
2 parents 747b8b6 + 8f215c2 commit cacac17
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion code/frameworks/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"@storybook/builder-webpack5": "7.1.0-alpha.9",
"@storybook/cli": "7.1.0-alpha.9",
"@storybook/client-logger": "7.1.0-alpha.9",
"@storybook/core-client": "7.1.0-alpha.9",
"@storybook/core-common": "7.1.0-alpha.9",
"@storybook/core-events": "7.1.0-alpha.9",
"@storybook/core-server": "7.1.0-alpha.9",
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/angular/src/client/public-api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable prefer-destructuring */
import { Addon_ClientStoryApi, Addon_Loadable } from '@storybook/types';
import { start } from '@storybook/core-client';
import { start } from '@storybook/preview-api';
import { renderToCanvas, render } from './render';
import decorateStory from './decorateStory';
import { AngularRenderer } from './types';
Expand Down
1 change: 0 additions & 1 deletion code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5523,7 +5523,6 @@ __metadata:
"@storybook/builder-webpack5": 7.1.0-alpha.9
"@storybook/cli": 7.1.0-alpha.9
"@storybook/client-logger": 7.1.0-alpha.9
"@storybook/core-client": 7.1.0-alpha.9
"@storybook/core-common": 7.1.0-alpha.9
"@storybook/core-events": 7.1.0-alpha.9
"@storybook/core-server": 7.1.0-alpha.9
Expand Down

0 comments on commit cacac17

Please sign in to comment.