use react-extras instead of auto-bind

This commit is contained in:
felixlinker
2018-09-26 23:15:09 +01:00
parent 51f5188efc
commit 59d38cbd33
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,6 @@
"workbox-webpack-plugin": "^3.4.1"
},
"dependencies": {
"auto-bind": "^1.2.1",
"babel-polyfill": "*",
"browserify-zlib-next": "^1.0.1",
"classnames": "^2.2.5",
@@ -118,6 +117,7 @@
"prop-types": "^15.5.8",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-extras": "^0.7.1",
"react-ga": "^2.5.3",
"react-number-editor": "Athanasius/react-number-editor.git#miggy",
"recharts": "^0.22.3",

View File

@@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import TranslatedComponent from './TranslatedComponent';
import { Pip } from './SvgIcons';
import autoBind from 'auto-bind';
import { autoBind } from 'react-extras';
/**
* Pips displays SYS/ENG/WEP pips and allows users to change them with key presses by clicking on the relevant area.