ensure the implementation is actually shimming manager-api, make deprecation message correct

This commit is contained in:
Norbert de Langen 2022-11-23 23:29:03 +01:00
parent aab78536e8
commit bed649b127
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762

View File

@ -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';