Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi authored Mar 4, 2019
1 parent aefc89d commit 15312c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client-api/src/client_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default class ClientApi {

api.addDecorator = decorator => {
if (hasAdded) {
console.warn(`You have added a decorator to the kind '${kind}' after a story has already been added.
logger.warn(`You have added a decorator to the kind '${kind}' after a story has already been added.
In Storybook 4 this applied the decorator only to subsequent stories. In Storybook 5+ it applies to all stories.
This is probably not what you intended. Read more here: https://github.com/storybooks/storybook/blob/master/MIGRATION.md`);
}
Expand Down

0 comments on commit 15312c1

Please sign in to comment.