Skip to content

Commit 3788a5d

Browse files
BigPun86davidLeonardi
authored andcommitted
use this.props.customAction instead of this.customAction (#151)
1 parent 8f5ef30 commit 3788a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ class Router extends React.Component {
286286
};
287287

288288
const customAction = (opts) => {
289-
this.customAction(opts);
289+
this.props.customAction(opts);
290290
};
291291

292292
const Content = route.component;

0 commit comments

Comments
 (0)