Skip to content

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

fix lint

adilsone73cdf5dc6da
diff --git a/frontend/src/pages/project/components/FolderAccessSection/FolderAccessSection.tsx b/frontend/src/pages/project/components/FolderAccessSection/FolderAccessSection.tsx
index 406c5a4eb2..22eff41609 100644
--- a/frontend/src/pages/project/components/FolderAccessSection/FolderAccessSection.tsx
+++ b/frontend/src/pages/project/components/FolderAccessSection/FolderAccessSection.tsx
@@ -332,8 +332,8 @@ export const FolderAccessSection = ({ actor, hideActions = false }: Props) => {
<EmptyHeader>
<EmptyTitle>This {actorNoun} has no folder access</EmptyTitle>
<EmptyDescription>
- Grant access to a folder to override{" "}
- {actor.type === "user" ? "their" : "its"} project roles within it
+ Grant access to a folder to override {actor.type === "user" ? "their" : "its"}{" "}
+ project roles within it
</EmptyDescription>
</EmptyHeader>
{!hideActions && (
diff --git a/frontend/src/pages/project/components/FolderAccessSection/GrantFolderAccessSheet.tsx b/frontend/src/pages/project/components/FolderAccessSection/GrantFolderAccessSheet.tsx
index 91a308b604..a0e109376f 100644
--- a/frontend/src/pages/project/components/FolderAccessSection/GrantFolderAccessSheet.tsx
+++ b/frontend/src/pages/project/components/FolderAccessSection/GrantFolderAccessSheet.tsx
@@ -235,12 +235,7 @@ const GrantFolderAccessForm = ({ actor, existingAccess, onClose }: FormProps) =>
);
};
-export const GrantFolderAccessSheet = ({
- isOpen,
- onOpenChange,
- actor,
- existingAccess
-}: Props) => (
+export const GrantFolderAccessSheet = ({ isOpen, onOpenChange, actor, existingAccess }: Props) => (
<Sheet open={isOpen} onOpenChange={onOpenChange}>
<SheetContent className="gap-y-0 sm:max-w-[600px]">
{isOpen && (
diff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
index 4088a211a5..a3de08d968 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
@@ -1168,14 +1168,7 @@ const OverviewPageContent = () => {
projectId
});
},
- [
- ensureFolderRbacPlan,
- getFolderByNameAndEnv,
- singleEnvSlug,
- childFolderPath,
- orgId,
- projectId
- ]
+ [ensureFolderRbacPlan, getFolderByNameAndEnv, singleEnvSlug, childFolderPath, orgId, projectId]
);
const handleCurrentFolderAccessOpen = useCallback(() => {