diff --git a/src/features/WriteStoriesModal/code/javascript.tsx b/src/features/WriteStoriesModal/code/javascript.tsx index 941a588e9712..e5a77589a306 100644 --- a/src/features/WriteStoriesModal/code/javascript.tsx +++ b/src/features/WriteStoriesModal/code/javascript.tsx @@ -11,13 +11,11 @@ export default [ ], [ { - code: `const meta = { + code: `export default { title: 'Example/Button', component: Button, // ... - }; - - export default meta;`, + };`, }, ], [