about summary refs log tree commit diff
path: root/storybook/stories
diff options
context:
space:
mode:
Diffstat (limited to 'storybook/stories')
-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>
   ));