Skip to content
This repository was archived by the owner on Jan 4, 2018. It is now read-only.

Commit 74e3415

Browse files
committed
Correctly upgrade to react-intl beta-1
1 parent 1ef8df3 commit 74e3415

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ import React from 'react'
44
import ReactDOM from 'react-dom'
55
import { Provider } from 'react-redux'
66
import Root, { store } from './Root'
7+
import { addLocaleData } from 'react-intl'
8+
import en from 'react-intl/lib/locale-data/en'
9+
import de from 'react-intl/lib/locale-data/de'
10+
import it from 'react-intl/lib/locale-data/it'
11+
12+
addLocaleData(en)
13+
addLocaleData(de)
14+
addLocaleData(it)
715

816
// All modern browsers, expect `Safari`, have implemented
917
// the `ECMAScript Internationalization API`.

0 commit comments

Comments
 (0)