Skip to content

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

chore: adds comment

Piyush Gupta59cfc27792fb
diff --git a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
index 64e0b66661..e701863eba 100644
--- a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
+++ b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
@@ -242,6 +242,7 @@ const ProjectSelectInner = () => {
export const ProjectSelect = () => {
const params = useParams({ strict: false });
+ // Return null during navigation when projectId is not available
if (!params.projectId) {
return null;
}