forked from M3-Academy/desafio-react-e-typescript
refactor: Aplica mudanças no código
This commit is contained in:
parent
1bb05c78c7
commit
e44c19270a
@ -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>
|
||||
|
@ -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/>} />
|
||||
|
Loading…
Reference in New Issue
Block a user