added the contract and contracts and all supporting files
This commit is contained in:
parent
07ccb42905
commit
832bb0f7e5
18 changed files with 2898 additions and 17 deletions
|
|
@ -40,6 +40,8 @@ const Marketplace = lazy(() => import("userFeatures/UserFeatures"))
|
|||
const Logs = lazy(() => import("pages/Logs"))
|
||||
const Firmware = lazy(() => import("pages/Firmware"));
|
||||
const Nfc = lazy(() => import("pages/Nfc"));
|
||||
const Contracts = lazy(() => import("pages/Contracts"));
|
||||
const Contract = lazy(() => import("pages/Contract"));
|
||||
|
||||
export const appendToUrl = (appendage: number | string) => {
|
||||
const basePath = location.pathname.replace(/\/$/, "");
|
||||
|
|
@ -317,6 +319,8 @@ export default function Router() {
|
|||
<Route path="firmware" element={<Firmware />} />
|
||||
)}
|
||||
<Route path="nfc" element={<Nfc />} />
|
||||
<Route path="contracts" element={<Contracts />} />
|
||||
<Route path="contracts/:contractKey" element={<Contract />} />
|
||||
|
||||
{/* Map pages */}
|
||||
<Route path="visualFarm" element={<FieldMap />} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue