Skip to content

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-akamai committed Sep 30, 2024
1 parent 80d046f commit c16e5eb
Show file tree
Hide file tree
Showing 50 changed files with 97 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const CloudPulseLanding = () => {
);
};

export const CloudPulseLandingLazyRoute = createLazyRoute(
export const cloudPulseLandingLazyRoute = createLazyRoute(
'/monitor/cloudpulse'
)({
component: CloudPulseLanding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ const determineCompressionType = (engine: string) => {
return undefined;
};

export const DatabaseCreateLazyRoute = createLazyRoute('/databases/create')({
export const databaseCreateLazyRoute = createLazyRoute('/databases/create')({
component: DatabaseCreate,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const DatabaseDetail = () => {
);
};

export const DatabaseDetailLazyRoute = createLazyRoute(
export const databaseDetailLazyRoute = createLazyRoute(
'/databases/$engine/$databaseId'
)({
component: DatabaseDetail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const DatabaseLanding = () => {
);
};

export const DatabaseLandingLazyRoute = createLazyRoute('/databases')({
export const databaseLandingLazyRoute = createLazyRoute('/databases')({
component: DatabaseLanding,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export const CreateDomain = () => {
);
};

export const CreateDomainLazyRoute = createLazyRoute('/domains/create')({
export const createDomainLazyRoute = createLazyRoute('/domains/create')({
component: CreateDomain,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ export const DomainDetailRouting = () => {
return <DomainsLanding domainForEditing={domain} />;
};

export const DomainDetailLazyRoute = createLazyRoute('/domains/$domainId')({
export const domainDetailLazyRoute = createLazyRoute('/domains/$domainId')({
component: DomainDetailRouting,
});
2 changes: 1 addition & 1 deletion packages/manager/src/features/Domains/DomainsLanding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,6 @@ const StyledButon = styled(Button, { label: 'StyledButton' })(({ theme }) => ({
whiteSpace: 'nowrap',
}));

export const DomainsLandingLazyRoute = createLazyRoute('/domains')({
export const domainsLandingLazyRoute = createLazyRoute('/domains')({
component: DomainsLanding,
});
2 changes: 1 addition & 1 deletion packages/manager/src/features/Events/EventsLanding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ export const EventsLanding = (props: Props) => {
);
};

export const EventsLandingLazyRoute = createLazyRoute('/events')({
export const eventsLandingLazyRoute = createLazyRoute('/events')({
component: EventsLanding,
});
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,6 @@ export const FirewallDetail = () => {
);
};

export const FirewallDetailLazyRoute = createLazyRoute('/firewalls/$id')({
export const firewallDetailLazyRoute = createLazyRoute('/firewalls/$id')({
component: FirewallDetail,
});
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const FirewallLanding = () => {
);
};

export const FirewallLandingLazyRoute = createLazyRoute('/firewalls')({
export const firewallLandingLazyRoute = createLazyRoute('/firewalls')({
component: FirewallLanding,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const ImageCreate = () => {
);
};

export const ImageCreateLazyRoute = createLazyRoute('/images/create')({
export const imageCreateLazyRoute = createLazyRoute('/images/create')({
component: ImageCreate,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export const ImagesLanding = () => {
);
};

export const ImagesLandingLazyRoute = createLazyRoute('/images')({
export const imagesLandingLazyRoute = createLazyRoute('/images')({
component: ImagesLanding,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,6 @@ export const CreateCluster = () => {
);
};

export const CreateClusterLazyRoute = createLazyRoute('/kubernetes/create')({
export const createClusterLazyRoute = createLazyRoute('/kubernetes/create')({
component: CreateCluster,
});
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const KubernetesClusterDetail = () => {
);
};

export const KubernetesClusterDetailLazyRoute = createLazyRoute(
export const kubernetesClusterDetailLazyRoute = createLazyRoute(
'/kubernetes/clusters/$clusterID'
)({
component: KubernetesClusterDetail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export const KubernetesLanding = () => {
);
};

export const KubernetesLandingLazyRoute = createLazyRoute(
export const kubernetesLandingLazyRoute = createLazyRoute(
'/kubernetes/clusters'
)({
component: KubernetesLanding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,6 @@ export const LinodeCreatev2 = () => {
);
};

export const LinodeCreatev2LazyRoute = createLazyRoute('/linodes/create')({
export const linodeCreatev2LazyRoute = createLazyRoute('/linodes/create')({
component: LinodeCreatev2,
});
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ export const LinodeDetail = () => {
);
};

export const LinodeDetailLazyRoute = createLazyRoute('/linodes/$linodeId')({
export const linodeDetailLazyRoute = createLazyRoute('/linodes/$linodeId')({
component: LinodeDetail,
});
2 changes: 1 addition & 1 deletion packages/manager/src/features/Linodes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ export const LinodesLandingWrapper = React.memo(() => {
);
});

export const LinodesLandingLazyRoute = createLazyRoute('/linodes')({
export const linodesLandingLazyRoute = createLazyRoute('/linodes')({
component: LinodesLandingWrapper,
});
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const StyledTabs = styled(Tabs, {
marginTop: 0,
}));

export const LongviewLandingLazyRoute = createLazyRoute('/longview')({
export const longviewLandingLazyRoute = createLazyRoute('/longview')({
component: LongviewLanding,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const Contacts = () => {
);
};

export const ManagedContactsLazyRoute = createLazyRoute('/managed/contacts')({
export const managedContactsLazyRoute = createLazyRoute('/managed/contacts')({
component: Contacts,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export const CredentialList = () => {
);
};

export const ManagedCredentialsLazyRoute = createLazyRoute(
export const managedCredentialsLazyRoute = createLazyRoute(
'/managed/credentials'
)({
component: CredentialList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const ManagedDashboardCard = () => {
);
};

export const ManagedDashboardCardLazyRoute = createLazyRoute('/managed')({
export const managedDashboardCardLazyRoute = createLazyRoute('/managed')({
component: ManagedDashboardCard,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export const MonitorTable = () => {
);
};

export const ManagedMonitorTableLazyRoute = createLazyRoute('/managed')({
export const managedMonitorTableLazyRoute = createLazyRoute('/managed')({
component: MonitorTable,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SSHAcess = () => {
);
};

export const ManagedSSHAccessLazyRoute = createLazyRoute('/managed/ssh-access')(
export const managedSSHAccessLazyRoute = createLazyRoute('/managed/ssh-access')(
{
component: SSHAcess,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ export const fieldErrorsToNodePathErrors = (errors: APIError[]) => {
}, []);
};

export const NodeBalancerCreateLazyRoute = createLazyRoute(
export const nodeBalancerCreateLazyRoute = createLazyRoute(
'/nodebalancers/create'
)({
component: NodeBalancerCreate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const NodeBalancerDetail = () => {
);
};

export const NodeBalancerDetailLazyRoute = createLazyRoute(
export const nodeBalancerDetailLazyRoute = createLazyRoute(
'/nodebalancers/$nodeBalancerId'
)({
component: NodeBalancerDetail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const NodeBalancerSettings = () => {
);
};

export const NodeBalancerSettingsLazyRoute = createLazyRoute(
export const nodeBalancerSettingsLazyRoute = createLazyRoute(
'/nodebalancers/$nodeBalancerId/settings'
)({
component: NodeBalancerSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const StyledSidebarGridItem = styled(Grid, {
},
}));

export const NodeBalancerSummaryLazyRoute = createLazyRoute(
export const nodeBalancerSummaryLazyRoute = createLazyRoute(
'/nodebalancers/$nodeBalancerId'
)({
component: NodeBalancerSummary,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export const NodeBalancersLanding = () => {
);
};

export const NodeBalancersLandingLazyRoute = createLazyRoute('/nodebalancers')({
export const nodeBalancersLandingLazyRoute = createLazyRoute('/nodebalancers')({
component: NodeBalancersLanding,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const BucketDetailLanding = React.memo((props: Props) => {
);
});

export const BucketDetailLandingLazyRoute = createLazyRoute(
export const bucketDetailLandingLazyRoute = createLazyRoute(
'/object-storage/buckets/$clusterId/$bucketName'
)({
component: BucketDetailLanding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const StyledPromotionalOfferCard = styled(PromotionalOfferCard, {
marginBottom: theme.spacing(0.5),
}));

export const ObjectStorageLandingLazyRoute = createLazyRoute('/object-storage')(
export const objectStorageLandingLazyRoute = createLazyRoute('/object-storage')(
{
component: ObjectStorageLanding,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ export const PlacementGroupsDetail = () => {
);
};

export const PlacementGroupsDetailLazyRoute = createLazyRoute(
export const placementGroupsDetailLazyRoute = createLazyRoute(
'/placement-groups/$id'
)({
component: PlacementGroupsDetail,
});

export const PlacementGroupsUnassignLazyRoute = createLazyRoute(
export const placementGroupsUnassignLazyRoute = createLazyRoute(
'/placement-groups/$id/linodes/unassign/$linodeId'
)({
component: PlacementGroupsDetail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export const PlacementGroupsLanding = React.memo(() => {
);
});

export const PlacementGroupsLandingLazyRoute = createLazyRoute(
export const placementGroupsLandingLazyRoute = createLazyRoute(
'/placement-groups'
)({
component: PlacementGroupsLanding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ export const AuthenticationSettings = () => {
);
};

export const authenticationSettingsLazyRoute = createLazyRoute('/profile/auth')(
{
component: AuthenticationSettings,
}
);

export const StyledRootContainer = styled(Paper, {
label: 'StyledRootContainer',
})(({ theme }) => ({
Expand All @@ -149,9 +155,3 @@ export const StyledMainCopy = styled(Typography, {
marginTop: theme.spacing(),
maxWidth: 960,
}));

export const AuthenticationSettingsLazyRoute = createLazyRoute('/profile/auth')(
{
component: AuthenticationSettings,
}
);
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ const StyledProfileCopy = styled(Typography, {
maxWidth: 360,
}));

export const DisplaySettingsLazyRoute = createLazyRoute('/profile/display')({
export const displaySettingsLazyRoute = createLazyRoute('/profile/display')({
component: DisplaySettings,
});
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,6 @@ export const LishSettings = () => {
);
};

export const LishSettingsLazyRoute = createLazyRoute('/profile/lish')({
export const lishSettingsLazyRoute = createLazyRoute('/profile/lish')({
component: LishSettings,
});
2 changes: 1 addition & 1 deletion packages/manager/src/routes/cloudPulse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const cloudPulseLandingRoute = createRoute({
path: '/',
}).lazy(() =>
import('src/features/CloudPulse/CloudPulseLanding').then(
(m) => m.CloudPulseLandingLazyRoute
(m) => m.cloudPulseLandingLazyRoute
)
);

Expand Down
Loading

0 comments on commit c16e5eb

Please sign in to comment.