diff --git a/fittrackee_client/src/components/Activity/index.jsx b/fittrackee_client/src/components/Activity/index.jsx index 9399a555..94b7d4d7 100644 --- a/fittrackee_client/src/components/Activity/index.jsx +++ b/fittrackee_client/src/components/Activity/index.jsx @@ -1,5 +1,4 @@ import React from 'react' -import { Helmet } from 'react-helmet' import { connect } from 'react-redux' import { Redirect, Route, Switch } from 'react-router-dom' @@ -12,9 +11,6 @@ import { isLoggedIn } from '../../utils' function Activity() { return (
- - FitTrackee - Admin - {isLoggedIn() ? ( diff --git a/fittrackee_client/src/components/User/ProfileEdit.jsx b/fittrackee_client/src/components/User/ProfileEdit.jsx index 71d1478f..f8927333 100644 --- a/fittrackee_client/src/components/User/ProfileEdit.jsx +++ b/fittrackee_client/src/components/User/ProfileEdit.jsx @@ -244,7 +244,7 @@ class ProfileEdit extends React.Component { } } -export default withTranslation( +export default withTranslation()( connect( state => ({ location: state.router.location,