0
0
Fork 0

fix storybook (#3292)

This commit is contained in:
Yamagishi Kazutoshi 2017-05-25 12:23:14 +09:00 committed by Eugen Rochko
parent 807c192fcf
commit c52090dbfe
2 changed files with 3 additions and 3 deletions

View file

@ -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>
));