Client - fix translation
This commit is contained in:
parent
131f315911
commit
0443a4e3c9
@ -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 (
|
||||
<div>
|
||||
<Helmet>
|
||||
<title>FitTrackee - Admin</title>
|
||||
</Helmet>
|
||||
{isLoggedIn() ? (
|
||||
<Switch>
|
||||
<Route exact path="/activities/add" component={ActivityAdd} />
|
||||
|
@ -244,7 +244,7 @@ class ProfileEdit extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
export default withTranslation(
|
||||
export default withTranslation()(
|
||||
connect(
|
||||
state => ({
|
||||
location: state.router.location,
|
||||
|
Loading…
Reference in New Issue
Block a user