refactor: Aplica mudanças no código

This commit is contained in:
Sabrina Miranda 2023-01-16 15:38:12 -03:00
parent 1bb05c78c7
commit e44c19270a
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ const MenuSideBar = () => {
<ul className={styles["menu-sidebar__container"]}>
<li className={styles["menu-sidebar__item"]}>
<NavLink to={"/sobre"}
<NavLink to={"/"}
style={({ isActive }) => isActive ? {background:"#000000", color:"#FFFFFF", fontWeight: "700"} : {}} >
Sobre
</NavLink>

View File

@ -18,7 +18,7 @@ const InstitucionalRoutes = () => {
<MenuSideBar />
<Routes>
<Route path="/sobre" element={<Sobre/>} />
<Route path="/" element={<Sobre/>} />
<Route path="/formadepagamento" element={<FormaDePagamento/>} />
<Route path="/entrega" element={<Entrega/>} />
<Route path="/trocaedevolucao" element={<TrocaEDevolucao/>} />