Skip to content

Commit

Permalink
remove page initial
Browse files Browse the repository at this point in the history
  • Loading branch information
TI JONNY committed May 20, 2024
1 parent e3881d1 commit 311f5a5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_API_PATH=http://localhost:3000/
# REACT_APP_API_PATH=https://br-ipti-beneficiarios.azurewebsites.net/
# REACT_APP_API_PATH=http://localhost:3000/
REACT_APP_API_PATH=https://br-ipti-beneficiarios.azurewebsites.net/
14 changes: 7 additions & 7 deletions src/Components/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const Menu = ({ viewdMenu }: { viewdMenu: boolean }) => {
path={"/cronograma"}
icon={"pi pi-calendar"}
/> */}
<Item
{/* <Item
text={"Pagina Inicial"}
funcActiv={() => {
setActive(1);
Expand All @@ -88,16 +88,16 @@ const Menu = ({ viewdMenu }: { viewdMenu: boolean }) => {
path={"/"}
icon={active === 1 ? homeHover : home}
/>
<Padding />
<Padding /> */}
<Item
text={"Tecnologias"}
funcActiv={() => {
setActive(2);
menuItem("2");
setActive(1);
menuItem("1");
}}
active={active === 2 ? true : false}
active={active === 1 ? true : false}
path={"/tecnologias"}
icon={active === 2 ? tecnologia_hover : tecnologia}
icon={active === 1 ? tecnologia_hover : tecnologia}
/>
<Padding />
<Item
Expand All @@ -123,7 +123,7 @@ const Menu = ({ viewdMenu }: { viewdMenu: boolean }) => {
/>
<Padding />
<Item
text={"Beneficiarios"}
text={"Beneficiários"}
funcActiv={() => {
setActive(5);
menuItem("5");
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Beneficiaries/BeneficiariesList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const BeneficiariesListPage = () => {
return (
<>
<Container>
<h1>Beneficiarios</h1>
<h1>Beneficiários</h1>
<Padding padding="16px" />
<DataTable
value={props.registrations?.content}
Expand Down
2 changes: 1 addition & 1 deletion src/Router/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const RoutesApp = () => {
path="/view/:id"
/>
<Route
element={<PrivateRoute Component={<InitialPage />} />}
element={<PrivateRoute Component={<TecnologySocial />} />}
path="/"
/>
<Route
Expand Down

0 comments on commit 311f5a5

Please sign in to comment.