Skip to content
Snippets Groups Projects
Commit 70ab9dd1 authored by Alejandro De Maria Antolinos's avatar Alejandro De Maria Antolinos
Browse files

Environment variables are set

parent cc52edba
No related branches found
No related tags found
No related merge requests found
...@@ -9,15 +9,12 @@ function App() { ...@@ -9,15 +9,12 @@ function App() {
name="Logistics" name="Logistics"
routes={routes} routes={routes}
navigationBar={[ navigationBar={[
<Nav.Link key="investigations" as={Link} to="/investigation">
Investigations
</Nav.Link>,
<Nav.Link key="addresses" as={Link} to="/"> <Nav.Link key="addresses" as={Link} to="/">
My addresses Addresses
</Nav.Link>, </Nav.Link>,
<Nav.Link key="parcels" as={Link} to="/parcels"> <Nav.Link key="parcels" as={Link} to="/parcels">
My parcels Parcels
</Nav.Link> </Nav.Link>,
]} ]}
/> />
); );
......
...@@ -5,23 +5,23 @@ import { ParcelsHome } from "components/parcels/parcelsHome"; ...@@ -5,23 +5,23 @@ import { ParcelsHome } from "components/parcels/parcelsHome";
export const routes = [ export const routes = [
{ {
path: "/", path: "/parcels",
element: <Home />, element: <ParcelsHome />,
breadcrumb: "Home" breadcrumb: "Home",
}, },
{ {
path: "/investigation", path: "/investigation",
element: <InvestigationsListSearch />, element: <InvestigationsListSearch />,
breadcrumb: "Investigation" breadcrumb: "Investigation",
}, },
{ {
path: "/investigation/:investigationId", path: "/investigation/:investigationId",
element: <InvestigationHome />, element: <InvestigationHome />,
breadcrumb: "Investigation" breadcrumb: "Investigation",
}, },
{ {
path: "/parcels", path: "/parcels",
element: <ParcelsHome />, element: <ParcelsHome />,
breadcrumb: "My Parcels" breadcrumb: "My Parcels",
} },
]; ];
import type { Config } from "./definition/configtype"; import type { Config } from "./definition/configtype";
import { UIDEFAULT } from "./ui"; import { UIDEFAULT } from "./ui";
console.log(import.meta.env); // is this is removed then env is undefined
const { env } = import.meta; const { env } = import.meta;
export const DEFAULT: Config = { export const DEFAULT: Config = {
......
import type { UIConfig } from "./definition/configtype"; import type { UIConfig } from "./definition/configtype";
console.log(import.meta.env); // is this is removed then env is undefined
const { env } = import.meta; const { env } = import.meta;
export const UIDEFAULT: UIConfig = { export const UIDEFAULT: UIConfig = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment