Upgrade of modules and webpack.

Support for localization in progress.
This commit is contained in:
Tomas Bures 2018-11-17 23:26:45 +01:00
parent d8b56fff0d
commit 4862d6cac4
52 changed files with 5870 additions and 23064 deletions

View file

@ -1,10 +1,10 @@
'use strict';
import React, {Component} from 'react';
import {translate} from 'react-i18next';
import { withNamespaces } from 'react-i18next';
import { requiresAuthenticatedUser } from './lib/page';
@translate()
@withNamespaces()
@requiresAuthenticatedUser
export default class List extends Component {
constructor(props) {
@ -16,7 +16,7 @@ export default class List extends Component {
return (
<div>
<h2>{t('Welcome to Mailtrain...')}</h2>
<h2>{t('home.welcome')}</h2>
<div>TODO: some dashboard</div>
</div>
);