Modify the storybook so it works in IE11
This commit is contained in:
parent
807143fe65
commit
eeb247a5b7
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ const messages = {
|
||||||
setIntlConfig({
|
setIntlConfig({
|
||||||
locales: ['en', 'de'],
|
locales: ['en', 'de'],
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
getMessages: (locale) => messages[locale]
|
// we use this form becuase it allows the story to be viewed in IE11
|
||||||
|
getMessages: function(locale) { return messages[locale]}
|
||||||
});
|
});
|
||||||
|
|
||||||
addDecorator(withIntl)
|
addDecorator(withIntl)
|
Loading…
Reference in a new issue