Skip to content

Commit

Permalink
add locale data imports for react-intl
Browse files Browse the repository at this point in the history
  • Loading branch information
ihab4real committed Dec 17, 2024
1 parent 3e1f722 commit a4f9f70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/app/bundles/comments/startup/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import React from 'react';
import ReactOnRails from 'react-on-rails';

import NonRouterCommentsContainer from '../containers/NonRouterCommentsContainer.jsx';
import 'intl/locale-data/jsonp/en';
import 'intl/locale-data/jsonp/de';
import 'intl/locale-data/jsonp/ja';
import 'intl/locale-data/jsonp/zh';

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

0 comments on commit a4f9f70

Please sign in to comment.