Completely updated React, fixed #11, (hopefully)
This commit is contained in:
6
goTorrentWebUI/node_modules/material-ui/ButtonBase/createRippleHandler.js.flow
generated
vendored
6
goTorrentWebUI/node_modules/material-ui/ButtonBase/createRippleHandler.js.flow
generated
vendored
@@ -1,7 +1,5 @@
|
||||
// @flow
|
||||
|
||||
function createRippleHandler(instance: Object, eventName: string, action: string, cb: ?Function) {
|
||||
return function handleEvent(event: SyntheticUIEvent<>) {
|
||||
function createRippleHandler(instance, eventName, action, cb) {
|
||||
return function handleEvent(event) {
|
||||
if (cb) {
|
||||
cb.call(instance, event);
|
||||
}
|
||||
|
Reference in New Issue
Block a user