From 0b1ddf0f0c1e3f239097eb25112d760f388a8efe Mon Sep 17 00:00:00 2001 From: Jim Neuendorf Date: Thu, 6 Sep 2018 17:07:33 +0200 Subject: [PATCH] fixed incorrect use of withNotes on using-addons page (fixes #3442) --- docs/src/pages/addons/using-addons/index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/addons/using-addons/index.md b/docs/src/pages/addons/using-addons/index.md index aa8b5c9f6bbe..d8653693d75a 100644 --- a/docs/src/pages/addons/using-addons/index.md +++ b/docs/src/pages/addons/using-addons/index.md @@ -37,8 +37,10 @@ import { withNotes } from '@storybook/addon-notes'; import Button from './Button'; storiesOf('Button', module) - .add('with some emoji', () => ( - withNotes('A very simple component')(() => )); + .add('with some emoji', withNotes('A very simple component')(() => + )); ```