Browse Source

remove on touch tap

pull/6/head
Casper Lamboo 4 years ago
parent
commit
02e312247c
  1. 9
      package-lock.json
  2. 1
      package.json
  3. 2
      src/components/Button.js

9
package-lock.json generated

@ -11816,15 +11816,6 @@
"prop-types": "15.6.0"
}
},
"react-tap-event-plugin": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/react-tap-event-plugin/-/react-tap-event-plugin-3.0.2.tgz",
"integrity": "sha1-KANxZ3uIHDE3bgAnoLhtLG3gOe4=",
"dev": true,
"requires": {
"fbjs": "0.8.16"
}
},
"read": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz",

1
package.json

@ -87,7 +87,6 @@
"normalize-jss": "^4.0.0",
"raw-loader": "^0.5.1",
"react-dom": "^16.1.1",
"react-tap-event-plugin": "^3.0.2",
"redux": "^3.7.2",
"redux-action-wrapper": "^1.0.1",
"redux-logger": "^3.0.6",

2
src/components/Button.js

@ -37,7 +37,7 @@ export default class Button extends React.Component {
if (className) combinedClassName += ` ${className}`;
return (
<div id={id} className={combinedClassName} onTouchTap={this.onClick}>
<div id={id} className={combinedClassName} onClick={this.onClick}>
{svg && <svg>
<use xlinkHref={svg}/>
</svg>}

Loading…
Cancel
Save