Warna tautan aktif berbeda dalam reaksi JS
instead of <Link> use <NavLink>
<NavLink to="/" activeStyle={{color: "red",textDecoration:"none"}} />
Adventurous Addax
instead of <Link> use <NavLink>
<NavLink to="/" activeStyle={{color: "red",textDecoration:"none"}} />
Example :
<NavLink to={link} activeClassName={class name } exact >{children}</NavLink>