From 2dca4ee8a5142a2643aef5eea7146f39b856bd13 Mon Sep 17 00:00:00 2001 From: Victor Vlasenko Date: Mon, 10 Sep 2018 16:09:49 +0300 Subject: [PATCH] Define missing 't' prop in UserAdd Ref: #843 --- packages/client/src/modules/user/containers/UserAdd.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/client/src/modules/user/containers/UserAdd.jsx b/packages/client/src/modules/user/containers/UserAdd.jsx index 91b3bcafcd..e2b2c2e0de 100644 --- a/packages/client/src/modules/user/containers/UserAdd.jsx +++ b/packages/client/src/modules/user/containers/UserAdd.jsx @@ -5,6 +5,7 @@ import { pick } from 'lodash'; import UserAddView from '../components/UserAddView'; import ADD_USER from '../graphql/AddUser.graphql'; import settings from '../../../../../../settings'; +import translate from '../../../i18n'; import UserFormatter from '../helpers/UserFormatter'; class UserAdd extends React.Component { @@ -44,6 +45,7 @@ class UserAdd extends React.Component { } export default compose( + translate('user'), graphql(ADD_USER, { props: ({ ownProps: { history, navigation }, mutate }) => ({ addUser: async input => {