Skip to content

Commit e017387

Browse files
authored
fix attribute onBeforeClick bug
1 parent d105f51 commit e017387

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/link.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default class Link extends React.Component<Props, State> {
3030
activeClassName,
3131
activeOnlyWhenExact,
3232
onClick,
33+
onBeforeClick,
3334
...rest
3435
} = this.props;
3536
const isActive = Link.isActive(to, this.context.router.getState().location.pathname, activeOnlyWhenExact);

0 commit comments

Comments
 (0)