about summary refs log tree commit diff
path: root/storybook
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-05-25 12:23:14 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-25 05:23:14 +0200
commitc52090dbfe45a53730419485e46dda80ec10dda1 (patch)
tree1226be6896b30f3df6201a1a2d7363c0e2f33624 /storybook
parent807c192fcf3a6cd0f4c712ec43130fbffddcc6c6 (diff)
fix storybook (#3292)
Diffstat (limited to 'storybook')
-rw-r--r--storybook/stories/loading_indicator.story.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/storybook/stories/loading_indicator.story.js b/storybook/stories/loading_indicator.story.js
index f3e67e89c..84d722d69 100644
--- a/storybook/stories/loading_indicator.story.js
+++ b/storybook/stories/loading_indicator.story.js
@@ -1,12 +1,12 @@
 import React from 'react';
 import { IntlProvider } from 'react-intl';
 import { storiesOf } from '@kadira/storybook';
-import getMessagesForLocale from 'mastodon/locales';
+import en from 'mastodon/locales/en.json';
 import LoadingIndicator from 'mastodon/components/loading_indicator';
 
 storiesOf('LoadingIndicator', module)
   .add('default state', () => (
-    <IntlProvider locale='en' messages={getMessagesForLocale('en')}>
+    <IntlProvider locale='en' messages={en}>
       <LoadingIndicator />
     </IntlProvider>
   ));