import React from 'react';
import { configure, addDecorator } from '@kadira/storybook';
import AuthorApp from 'components/AuthorApp';

addDecorator((story) => (
  <AuthorApp>{story()}</AuthorApp>
));

function requireAll(requireContext) {
  return requireContext.keys().map(requireContext);
}

function loadStories() {
  requireAll(require.context("../src/components", true, /\/story\.js$/));
}

configure(loadStories, module);

@@ -28,17 +28,16 @@
 import %7B
- 
 configur
@@ -51,17 +51,16 @@
 ecorator
- 
 %7D from '
@@ -86,22 +86,16 @@
 %0Aimport 
-Author
 App from
@@ -107,22 +107,16 @@
 ponents/
-Author
 App';%0A%0Aa
@@ -131,30 +131,18 @@
 tor(
-(
 story
-)
  =%3E 
-(%0A  %3CAuthor
+%3C
 App%3E
@@ -156,20 +156,12 @@
 )%7D%3C/
-Author
 App%3E
-%0A)
 );%0A%0A
@@ -307,17 +307,17 @@
 context(
-%22
+'
 ../src/c
@@ -329,9 +329,9 @@
 ents
-%22
+'
 , tr

fix stories