no refs in NavLink

This commit is contained in:
jessop 2019-11-18 10:59:16 -05:00 committed by Sean Yesmunt
parent fe50dc7bb7
commit aeb0d7acd1

View file

@ -121,7 +121,6 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
if (requiresAuth && !emailVerified) { if (requiresAuth && !emailVerified) {
return ( return (
<NavLink <NavLink
ref={combinedRef}
exact exact
onClick={e => { onClick={e => {
e.stopPropagation(); e.stopPropagation();
@ -139,7 +138,6 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
return path ? ( return path ? (
<NavLink <NavLink
ref={combinedRef}
exact exact
to={path} to={path}
title={title} title={title}