Skip to content

Commit

Permalink
Fix relative paths of lazy imports in routes.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
thiva-k committed Mar 28, 2024
1 parent 6ae0843 commit 3d7fac6
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions apps/console/src/features/core/configs/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/" +
"../../server-configurations/" +
"pages/connector-edit-page"
)
),
Expand All @@ -137,7 +137,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/" +
"../../server-configurations/" +
"pages/connector-edit-page"
)
),
Expand Down Expand Up @@ -193,7 +193,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
],
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-listing-page"
"../../server-configurations/pages/connector-listing-page"
)
),
exact: false,
Expand Down Expand Up @@ -474,7 +474,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
children: [
{
component: lazy(() =>
import("../../../features/organizations/pages/organization-edit")
import("../../organizations/pages/organization-edit")
),
exact: true,
icon: {
Expand All @@ -487,7 +487,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
showOnSidePanel: false
}
],
component: lazy(() => import("../../../features/organizations/pages/organizations")),
component: lazy(() => import("../../organizations/pages/organizations")),
exact: true,
icon: {
icon: <BuildingIcon />
Expand Down Expand Up @@ -548,7 +548,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
},
{
category: "extensions:develop.sidePanel.categories.branding",
component: lazy(() => import("../../../features/branding/pages/branding")),
component: lazy(() => import("../../branding/pages/branding")),
exact: true,
icon: {
icon: import("../../../extensions/assets/images/icons/paint-palette-and-brush-outline.svg")
Expand All @@ -563,7 +563,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
category: "extensions:develop.sidePanel.categories.branding",
component: lazy(() =>
import("../../../features/email-management/" + "pages/email-customization")
import("../../email-management/" + "pages/email-customization")
),
exact: true,
icon: { icon: <EnvelopeIcon fill="black" className="icon" /> },
Expand All @@ -577,7 +577,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
category: "extensions:develop.sidePanel.categories.branding",
component: lazy(() =>
import("../../../features/email-and-sms/" + "pages/email-and-sms")
import("../../email-and-sms/" + "pages/email-and-sms")
),
exact: true,
icon: { icon: <EnvelopeGearIcon fill="black" className="icon" /> },
Expand All @@ -591,7 +591,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
category: "extensions:develop.sidePanel.categories.branding",
component: lazy(() =>
import("../../../features/email-providers" + "/pages/email-providers")
import("../../email-providers" + "/pages/email-providers")
),
exact: true,
icon: {
Expand All @@ -607,7 +607,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
category: "extensions:develop.sidePanel.categories.smsProvider",
component: lazy(() =>
import("../../../features/sms-providers" + "/pages/sms-providers")
import("../../sms-providers" + "/pages/sms-providers")
),
exact: true,
icon: {
Expand Down Expand Up @@ -686,7 +686,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/" +
"../../server-configurations/" +
"pages/connector-edit-page"
)
),
Expand All @@ -706,7 +706,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/" +
"../../server-configurations/" +
"pages/connector-edit-page"
)
),
Expand All @@ -727,7 +727,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/" +
"../../server-configurations/" +
"pages/connector-edit-page"
)
),
Expand All @@ -748,7 +748,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
],
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-listing-page"
"../../server-configurations/pages/connector-listing-page"
)
),
exact: true,
Expand All @@ -772,7 +772,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-edit-page"
"../../server-configurations/pages/connector-edit-page"
)
),
exact: true,
Expand All @@ -797,7 +797,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-edit-page"
"../../server-configurations/pages/connector-edit-page"
)
),
exact: true,
Expand Down Expand Up @@ -826,7 +826,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
],
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-listing-page"
"../../server-configurations/pages/connector-listing-page"
)
),
exact: true,
Expand All @@ -850,7 +850,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/" +
"../../server-configurations/" +
"pages/connector-edit-page"
)
),
Expand All @@ -876,7 +876,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-edit-page"
"../../server-configurations/pages/connector-edit-page"
)
),
exact: true,
Expand All @@ -900,7 +900,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
},
{
component: lazy(() =>
import("../../../features/validation/pages/validation-config-edit")
import("../../validation/pages/validation-config-edit")
),
exact: true,
icon: {
Expand All @@ -914,7 +914,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
},
{
component: lazy(() =>
import("../../../features/private-key-jwt/pages/private-key-jwt-config-edit")
import("../../private-key-jwt/pages/private-key-jwt-config-edit")
),
exact: true,
icon: {
Expand All @@ -929,7 +929,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
],
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-listing-page"
"../../server-configurations/pages/connector-listing-page"
)
),
exact: true,
Expand Down Expand Up @@ -983,7 +983,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
category: "extensions:manage.sidePanel.categories.monitor",
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-edit-page"
"../../server-configurations/pages/connector-edit-page"
)
),
exact: true,
Expand All @@ -1008,7 +1008,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
{
component: lazy(() =>
import(
"../../../features/server-configurations/pages/connector-edit-page"
"../../server-configurations/pages/connector-edit-page"
)
),
exact: true,
Expand Down Expand Up @@ -1071,7 +1071,7 @@ export const getAppViewRoutes = (): RouteInterface[] => {
],
component: lazy(() =>
import(
"../../../features/server/pages/server"
"../../server/pages/server"
)
),
exact: true,
Expand Down

0 comments on commit 3d7fac6

Please sign in to comment.