Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: restore linted SecretSharing route file overwritten by TanStack Router codegen

bernie-g24db70e0016d
diff --git a/frontend/src/pages/organization/SecretSharingPage/route.tsx b/frontend/src/pages/organization/SecretSharingPage/route.tsx
index fe96816721..bf2220ad2d 100644
--- a/frontend/src/pages/organization/SecretSharingPage/route.tsx
+++ b/frontend/src/pages/organization/SecretSharingPage/route.tsx
@@ -1,27 +1,27 @@
-import { createFileRoute, stripSearchParams } from '@tanstack/react-router'
-import { zodValidator } from '@tanstack/zod-adapter'
-import { z } from 'zod'
+import { createFileRoute, stripSearchParams } from "@tanstack/react-router";
+import { zodValidator } from "@tanstack/zod-adapter";
+import { z } from "zod";
-import { SecretSharingPage } from './SecretSharingPage'
+import { SecretSharingPage } from "./SecretSharingPage";
const SecretSharingQueryParams = z.object({
- selectedTab: z.string().catch('').default('share-secret'),
-})
+ selectedTab: z.string().catch("").default("share-secret")
+});
export const Route = createFileRoute(
- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/secret-sharing/',
+ "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/secret-sharing/"
)({
component: SecretSharingPage,
validateSearch: zodValidator(SecretSharingQueryParams),
search: {
- middlewares: [stripSearchParams({ selectedTab: '' })],
+ middlewares: [stripSearchParams({ selectedTab: "" })]
},
context: () => ({
breadcrumbs: [
{
- label: 'Secret Sharing',
- },
- ],
- }),
-})
+ label: "Secret Sharing"
+ }
+ ]
+ })
+});