import { lazy } from "react";
import { lazyRetry } from "../utils/lazyRetry";
import {
  ROUTE_PSP_COMPANY_ROUTE_ACTIVE_SESSION,
  ROUTE_PSP_COMPANY_ROUTE_DEVICES,
  ROUTE_PSP_COMPANY_ROUTE_GUILDS,
  ROUTE_PSP_ROUTE_COMPANY_MANAGE_STEWARDS,
} from "./routes";

const Stewards = lazy(() => lazyRetry(() => import("../pages/PspCompany")));

// export const ROUTE_PSP_ROUTE_COMPANY_MANAGE_STEWARDS =
//   ROUTE_PSP_COMPANY_BASE + "/manage-stewards";

// export const ROUTE_PSP_COMPANY_ROUTE_GUILDS =
//   ROUTE_PSP_COMPANY_BASE + "/manage-guilds/guilds";

// export const ROUTE_PSP_COMPANY_ROUTE_ACTIVE_SESSION =
//   ROUTE_PSP_COMPANY_BASE + "/active-session/session";

// export const ROUTE_PSP_COMPANY_ROUTE_DEVICES =
//   ROUTE_PSP_COMPANY_BASE + "/devices";
export const posCompanyRouting = [
  {
    path: [
      ROUTE_PSP_ROUTE_COMPANY_MANAGE_STEWARDS,
      ROUTE_PSP_COMPANY_ROUTE_GUILDS,
      ROUTE_PSP_COMPANY_ROUTE_ACTIVE_SESSION,
      ROUTE_PSP_COMPANY_ROUTE_DEVICES,
    ],
    Page: Stewards,
    exact: false,
    props: {},
  },
];
