Skip to content

Commit 02c9e98

Browse files
committed
Fix unused var error
1 parent 4117c73 commit 02c9e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/__tests__/Router-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe('Router', function () {
9797
}
9898

9999
render((
100-
<Router history={createHistory('/')} createElement={Component => <Wrapper component={Child} />}>
100+
<Router history={createHistory('/')} createElement={x => <Wrapper component={x} />}>
101101
<Route path="/" component={Child}/>
102102
</Router>
103103
), node, function () {

0 commit comments

Comments
 (0)