aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/routes/components/StopPoint.js
diff options
context:
space:
mode:
authorcedricnjanga2018-04-12 06:33:32 -0700
committerJohan Van Ryseghem2018-04-24 11:08:36 +0200
commiteb51cf0aa62a96c552c1a32778aa84e64df458a6 (patch)
tree92cc8cf466007b2ec78f293a25508666e510fe92 /app/javascript/routes/components/StopPoint.js
parentd85ec520859aae6a5bdc25ac1f11e00ded5f6266 (diff)
downloadchouette-core-eb51cf0aa62a96c552c1a32778aa84e64df458a6.tar.bz2
Refs #6376 Add some english translations
Diffstat (limited to 'app/javascript/routes/components/StopPoint.js')
-rw-r--r--app/javascript/routes/components/StopPoint.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/javascript/routes/components/StopPoint.js b/app/javascript/routes/components/StopPoint.js
index 908e97263..916052b42 100644
--- a/app/javascript/routes/components/StopPoint.js
+++ b/app/javascript/routes/components/StopPoint.js
@@ -6,7 +6,7 @@ import OlMap from './OlMap'
import { defaultAttribute } from '../actions'
-export default function StopPoint(props, {I18n}) {
+export default function StopPoint(props) {
return (
<div className='nested-fields'>
<div className='wrapper'>
@@ -92,7 +92,3 @@ StopPoint.propTypes = {
index: PropTypes.number,
value: PropTypes.object
}
-
-StopPoint.contextTypes = {
- I18n: PropTypes.object
-}