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) {
return (
<NavLink
ref={combinedRef}
exact
onClick={e => {
e.stopPropagation();
@ -139,7 +138,6 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
return path ? (
<NavLink
ref={combinedRef}
exact
to={path}
title={title}