Skip to content

Commit a789648

Browse files
authored
add locale data imports for react-intl (#609)
1 parent a923b25 commit a789648

File tree

1 file changed

+4
-0
lines changed
  • client/app/bundles/comments/startup

1 file changed

+4
-0
lines changed

client/app/bundles/comments/startup/App.jsx

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import React from 'react';
33
import ReactOnRails from 'react-on-rails';
44

55
import NonRouterCommentsContainer from '../containers/NonRouterCommentsContainer.jsx';
6+
import 'intl/locale-data/jsonp/en';
7+
import 'intl/locale-data/jsonp/de';
8+
import 'intl/locale-data/jsonp/ja';
9+
import 'intl/locale-data/jsonp/zh';
610

711
function App(_props, _railsContext) {
812
const store = ReactOnRails.getStore('commentsStore');

0 commit comments

Comments
 (0)