mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
ensure the implementation is actually shimming manager-api, make deprecation message correct
This commit is contained in:
parent
aab78536e8
commit
bed649b127
@ -1,7 +1,7 @@
|
||||
import { deprecate } from '@storybook/client-logger';
|
||||
|
||||
deprecate(
|
||||
'importing from @storybook/client-api is deprecated and will be removed in 8.0, please import canvas related modules from @storybook/preview-api'
|
||||
'importing from @storybook/api is deprecated and will be removed in 8.0, please import canvas related modules from @storybook/manager-api'
|
||||
);
|
||||
|
||||
export * from '@storybook/preview-api/dist/client-api';
|
||||
export * from '@storybook/manager-api';
|
||||
|
Loading…
x
Reference in New Issue
Block a user