Client - fix translation
This commit is contained in:
		@@ -1,5 +1,4 @@
 | 
				
			|||||||
import React from 'react'
 | 
					import React from 'react'
 | 
				
			||||||
import { Helmet } from 'react-helmet'
 | 
					 | 
				
			||||||
import { connect } from 'react-redux'
 | 
					import { connect } from 'react-redux'
 | 
				
			||||||
import { Redirect, Route, Switch } from 'react-router-dom'
 | 
					import { Redirect, Route, Switch } from 'react-router-dom'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -12,9 +11,6 @@ import { isLoggedIn } from '../../utils'
 | 
				
			|||||||
function Activity() {
 | 
					function Activity() {
 | 
				
			||||||
  return (
 | 
					  return (
 | 
				
			||||||
    <div>
 | 
					    <div>
 | 
				
			||||||
      <Helmet>
 | 
					 | 
				
			||||||
        <title>FitTrackee - Admin</title>
 | 
					 | 
				
			||||||
      </Helmet>
 | 
					 | 
				
			||||||
      {isLoggedIn() ? (
 | 
					      {isLoggedIn() ? (
 | 
				
			||||||
        <Switch>
 | 
					        <Switch>
 | 
				
			||||||
          <Route exact path="/activities/add" component={ActivityAdd} />
 | 
					          <Route exact path="/activities/add" component={ActivityAdd} />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -244,7 +244,7 @@ class ProfileEdit extends React.Component {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default withTranslation(
 | 
					export default withTranslation()(
 | 
				
			||||||
  connect(
 | 
					  connect(
 | 
				
			||||||
    state => ({
 | 
					    state => ({
 | 
				
			||||||
      location: state.router.location,
 | 
					      location: state.router.location,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user