diff --git a/frontend/src/components/auth/Mfa.tsx b/frontend/src/components/auth/Mfa.tsx index b4d077c47..3eff8a89c 100644 --- a/frontend/src/components/auth/Mfa.tsx +++ b/frontend/src/components/auth/Mfa.tsx @@ -130,7 +130,7 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop return (
{!hideLogo && ( - +
Infisical logo
@@ -193,7 +193,7 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop {method === MfaMethod.TOTP && (
- + Lost your recovery codes? Reset your account diff --git a/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx b/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx index cc4ae8173..678c58d60 100644 --- a/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx +++ b/frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx @@ -385,7 +385,7 @@ export const InitialStep = ({ setStep, email, setEmail, password, setPassword }: shouldDisplayLoginMethod(LoginMethod.GITHUB) || shouldDisplayLoginMethod(LoginMethod.GITLAB)) ? (
- + Don't have an account yet? {t("login.create-account")} @@ -396,7 +396,7 @@ export const InitialStep = ({ setStep, email, setEmail, password, setPassword }: )} {shouldDisplayLoginMethod(LoginMethod.EMAIL) && (
- + Forgot password? Recover your account diff --git a/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx b/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx index 912ade1c0..20b47599f 100644 --- a/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx +++ b/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx @@ -357,7 +357,7 @@ export const PasswordStep = ({ providerAuthToken, email, password, setPassword } Infisical Master Password serves as a decryption mechanism so that even Google is not able to access your secrets. - + {t("login.forgot-password")} diff --git a/frontend/src/pages/auth/LoginSsoPage/LoginSsoPage.tsx b/frontend/src/pages/auth/LoginSsoPage/LoginSsoPage.tsx index f4d1ea856..7cf6d90b1 100644 --- a/frontend/src/pages/auth/LoginSsoPage/LoginSsoPage.tsx +++ b/frontend/src/pages/auth/LoginSsoPage/LoginSsoPage.tsx @@ -50,9 +50,13 @@ export const LoginSsoPage = () => { - +
- Infisical logo + Infisical logo
{renderView()}
; diff --git a/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx b/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx index c546c7c5e..5c73799a3 100644 --- a/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx +++ b/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx @@ -224,7 +224,7 @@ export const SelectOrganizationPage = () => { /> ) : (
- +
{ leftIcon={} onClick={() => navigate({ - to: `/${ProjectType.CertificateManager}/${projectId}/overview` as const, + to: `/${ProjectType.CertificateManager}/$projectId/overview` as const, params: { projectId } diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/OrgWorkflowIntegrationTab.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/OrgWorkflowIntegrationTab.tsx index 9b6af0a41..e3b59489c 100644 --- a/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/OrgWorkflowIntegrationTab.tsx +++ b/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/OrgWorkflowIntegrationTab.tsx @@ -44,7 +44,7 @@ export const OrgWorkflowIntegrationTab = withPermission( ] as const); const { currentOrg } = useOrganization(); - const { data: workflowIntegrations, isLoading: isWorkflowIntegrationsLoading } = + const { data: workflowIntegrations, isPending: isWorkflowIntegrationsLoading } = useGetWorkflowIntegrations(currentOrg?.id); const { mutateAsync: deleteSlackIntegration } = useDeleteSlackIntegration(); diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx index 3cda3df8d..5ce865297 100644 --- a/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx +++ b/frontend/src/pages/organization/SettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx @@ -1,7 +1,6 @@ import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; import { zodResolver } from "@hookform/resolvers/zod"; -import { useNavigate } from "@tanstack/react-router"; import axios from "axios"; import { z } from "zod"; @@ -38,7 +37,6 @@ export const SlackIntegrationForm = ({ id, onClose }: Props) => { resolver: zodResolver(slackFormSchema) }); - const navigate = useNavigate(); const [isConnectLoading, setIsConnectLoading] = useToggle(false); const { currentOrg } = useOrganization(); const { data: slackIntegration } = useGetSlackIntegrationById(id); diff --git a/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx b/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx index c7937bc9d..7c93f9acf 100644 --- a/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx +++ b/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx @@ -88,7 +88,7 @@ export const MembersTable = ({ handlePopUpOpen }: Props) => { toggleOrderDirection } = usePagination(MembersOrderBy.Name, { initPerPage: 20 }); - const { data: members = [], isLoading: isMembersLoading } = useGetWorkspaceUsers(workspaceId); + const { data: members = [], isPending: isMembersLoading } = useGetWorkspaceUsers(workspaceId); const filteredUsers = useMemo( () => diff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx index 6fa63816d..07e41cf04 100644 --- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx +++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx @@ -192,7 +192,7 @@ export const OverviewPage = () => { environments: (userAvailableEnvs || []).map(({ slug }) => slug) }); - const { isLoading: isOverviewLoading, data: overview } = useGetProjectSecretsOverview( + const { isPending: isOverviewLoading, data: overview } = useGetProjectSecretsOverview( { projectId: workspaceId, environments: visibleEnvs.map((env) => env.slug), diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/CreateSecretForm/CreateSecretForm.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/CreateSecretForm/CreateSecretForm.tsx index aabd7899e..702ef21b6 100644 --- a/frontend/src/pages/secret-manager/OverviewPage/components/CreateSecretForm/CreateSecretForm.tsx +++ b/frontend/src/pages/secret-manager/OverviewPage/components/CreateSecretForm/CreateSecretForm.tsx @@ -58,7 +58,7 @@ export const CreateSecretForm = ({ secretPath = "/", onClose }: Props) => { const { mutateAsync: createSecretV3 } = useCreateSecretV3(); const { mutateAsync: createFolder } = useCreateFolder(); - const { data: projectTags, isLoading: isTagsLoading } = useGetWsTags( + const { data: projectTags, isPending: isTagsLoading } = useGetWsTags( canReadTags ? workspaceId : "" ); diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CreateSecretForm/CreateSecretForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CreateSecretForm/CreateSecretForm.tsx index db53d26ae..1c10f6909 100644 --- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CreateSecretForm/CreateSecretForm.tsx +++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CreateSecretForm/CreateSecretForm.tsx @@ -56,7 +56,7 @@ export const CreateSecretForm = ({ const { permission } = useProjectPermission(); const canReadTags = permission.can(ProjectPermissionActions.Read, ProjectPermissionSub.Tags); - const { data: projectTags, isLoading: isTagsLoading } = useGetWsTags( + const { data: projectTags, isPending: isTagsLoading } = useGetWsTags( canReadTags ? workspaceId : "" ); diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretForm.tsx index fa9005b8e..971e89e44 100644 --- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretForm.tsx +++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretForm.tsx @@ -35,7 +35,7 @@ export const EditDynamicSecretForm = ({ onClose, secretPath }: Props) => { - const { data: dynamicSecretDetails, isLoading: isDynamicSecretLoading } = + const { data: dynamicSecretDetails, isPending: isDynamicSecretLoading } = useGetDynamicSecretDetails({ projectSlug, environmentSlug: environment, diff --git a/frontend/src/pages/secret-manager/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx b/frontend/src/pages/secret-manager/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx index fc7d653b4..e669b88de 100644 --- a/frontend/src/pages/secret-manager/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx +++ b/frontend/src/pages/secret-manager/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx @@ -38,7 +38,7 @@ export const RotationOutputForm = ({ onSubmit, onCancel, outputSchema = {} }: Pr const secretPath = watch("secretPath"); const selectedSecrets = watch("secrets"); - const { data: secrets, isLoading: isSecretsLoading } = useGetProjectSecrets({ + const { data: secrets, isPending: isSecretsLoading } = useGetProjectSecrets({ workspaceId, environment, secretPath diff --git a/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx index 0ba29ace5..870aa2b69 100644 --- a/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx @@ -145,11 +145,11 @@ export const AwsSecretManagerConfigurePage = () => { }); const { currentWorkspace } = useWorkspace(); - const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isintegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); - const { data: integrationAuthAwsKmsKeys, isLoading: isIntegrationAuthAwsKmsKeysLoading } = + const { data: integrationAuthAwsKmsKeys, isPending: isIntegrationAuthAwsKmsKeysLoading } = useGetIntegrationAuthAwsKmsKeys({ integrationAuthId: String(integrationAuthId), region: selectedAWSRegion diff --git a/frontend/src/pages/secret-manager/integrations/DatabricksConfigurePage/DatabricksConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/DatabricksConfigurePage/DatabricksConfigurePage.tsx index be605cd58..73453c80a 100644 --- a/frontend/src/pages/secret-manager/integrations/DatabricksConfigurePage/DatabricksConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/DatabricksConfigurePage/DatabricksConfigurePage.tsx @@ -38,11 +38,11 @@ export const DatabricksConfigurePage = () => { select: (el) => el.integrationAuthId }); - const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isintegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); - const { data: integrationAuthScopes, isLoading: isIntegrationAuthScopesLoading } = + const { data: integrationAuthScopes, isPending: isIntegrationAuthScopesLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "" }); diff --git a/frontend/src/pages/secret-manager/integrations/FlyioConfigurePage/FlyioConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/FlyioConfigurePage/FlyioConfigurePage.tsx index 6b08409f5..c0002c553 100644 --- a/frontend/src/pages/secret-manager/integrations/FlyioConfigurePage/FlyioConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/FlyioConfigurePage/FlyioConfigurePage.tsx @@ -40,10 +40,10 @@ export const FlyioConfigurePage = () => { select: (el) => el.integrationAuthId }); - const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isIntegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); - const { data: integrationAuthApps = [], isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps = [], isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "" }); diff --git a/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx index 565fbeeee..698ec82aa 100644 --- a/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx @@ -82,7 +82,7 @@ export const GcpSecretManagerConfigurePage = () => { select: (el) => el.integrationAuthId }); const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? ""); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "" }); diff --git a/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx index 26174e63c..01309b661 100644 --- a/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx @@ -148,7 +148,7 @@ export const GithubConfigurePage = () => { }); const { data: integrationAuth } = useGetIntegrationAuthById(integrationAuthId); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId }); diff --git a/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx index 6fe4cf664..7400730a4 100644 --- a/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx @@ -91,12 +91,12 @@ export const GitlabConfigurePage = () => { const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? ""); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "", ...(targetTeamId ? { teamId: targetTeamId } : {}) }); - const { data: integrationAuthTeams, isLoading: isintegrationAuthTeamsLoading } = + const { data: integrationAuthTeams, isPending: isintegrationAuthTeamsLoading } = useGetIntegrationAuthTeams((integrationAuthId as string) ?? ""); const [isLoading, setIsLoading] = useState(false); diff --git a/frontend/src/pages/secret-manager/integrations/HashicorpVaultConfigurePage/HashicorpVaultConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/HashicorpVaultConfigurePage/HashicorpVaultConfigurePage.tsx index 4de818811..c31a74371 100644 --- a/frontend/src/pages/secret-manager/integrations/HashicorpVaultConfigurePage/HashicorpVaultConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/HashicorpVaultConfigurePage/HashicorpVaultConfigurePage.tsx @@ -66,7 +66,7 @@ export const HashicorpVaultConfigurePage = () => { select: (el) => el.integrationAuthId }); - const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isintegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); diff --git a/frontend/src/pages/secret-manager/integrations/HasuraCloudConfigurePage/HasuraCloudConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/HasuraCloudConfigurePage/HasuraCloudConfigurePage.tsx index a29107e11..939bd8254 100644 --- a/frontend/src/pages/secret-manager/integrations/HasuraCloudConfigurePage/HasuraCloudConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/HasuraCloudConfigurePage/HasuraCloudConfigurePage.tsx @@ -43,13 +43,13 @@ export const HasuraCloudConfigurePage = () => { select: (el) => el.integrationAuthId }); - const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isIntegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); const selectedSourceEnvironment = watch("sourceEnvironment"); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "" }); diff --git a/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsx index 31ea5b258..394c37212 100644 --- a/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsx @@ -61,7 +61,7 @@ export const HerokuConfigurePage = () => { }); const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? ""); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "" }); diff --git a/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx index f4241b209..2e9d699ba 100644 --- a/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx @@ -61,14 +61,14 @@ export const OctopusDeployConfigurePage = () => { select: (el) => el.integrationAuthId }); - const { data: octopusDeploySpaces, isLoading: isLoadingOctopusDeploySpaces } = + const { data: octopusDeploySpaces, isPending: isLoadingOctopusDeploySpaces } = useGetIntegrationAuthOctopusDeploySpaces((integrationAuthId as string) ?? ""); const currentSpace = watch("targetSpace", octopusDeploySpaces?.[0]); const currentScope = watch("scope"); const sourceEnv = watch("sourceEnvironment"); - const { data: octopusDeployResources, isLoading: isOctopusDeployResourcesLoading } = + const { data: octopusDeployResources, isPending: isOctopusDeployResourcesLoading } = useGetIntegrationAuthApps( { integrationAuthId, @@ -82,7 +82,7 @@ export const OctopusDeployConfigurePage = () => { const currentResource = watch("targetResource", octopusDeployResources?.[0]); - const { data: octopusDeployScopeValues, isLoading: isOctopusDeployScopeValuesLoading } = + const { data: octopusDeployScopeValues, isPending: isOctopusDeployScopeValuesLoading } = useGetIntegrationAuthOctopusDeployScopeValues( { integrationAuthId, diff --git a/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx index 76b34d30e..5041782aa 100644 --- a/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx @@ -87,7 +87,7 @@ export const QoveryConfigurePage = () => { }); const [targetEnvironmentId, setTargetEnvironmentId] = useState(""); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthQoveryScopes({ integrationAuthId: (integrationAuthId as string) ?? "", environmentId: targetEnvironmentId, diff --git a/frontend/src/pages/secret-manager/integrations/RenderConfigurePage/RenderConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/RenderConfigurePage/RenderConfigurePage.tsx index cccdc9f4d..40c00d209 100644 --- a/frontend/src/pages/secret-manager/integrations/RenderConfigurePage/RenderConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/RenderConfigurePage/RenderConfigurePage.tsx @@ -60,10 +60,10 @@ export const RenderConfigurePage = () => { select: (el) => el.integrationAuthId }); - const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isIntegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "" }); diff --git a/frontend/src/pages/secret-manager/integrations/RundeckConfigurePage/RundeckConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/RundeckConfigurePage/RundeckConfigurePage.tsx index 4d9046be9..10b16c6ea 100644 --- a/frontend/src/pages/secret-manager/integrations/RundeckConfigurePage/RundeckConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/RundeckConfigurePage/RundeckConfigurePage.tsx @@ -50,7 +50,7 @@ export const RundeckConfigurePage = () => { select: (el) => el.integrationAuthId }); - const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isIntegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); diff --git a/frontend/src/pages/secret-manager/integrations/TeamcityConfigurePage/TeamcityConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/TeamcityConfigurePage/TeamcityConfigurePage.tsx index e06d0a687..57dcd8738 100644 --- a/frontend/src/pages/secret-manager/integrations/TeamcityConfigurePage/TeamcityConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/TeamcityConfigurePage/TeamcityConfigurePage.tsx @@ -40,10 +40,10 @@ export const TeamcityConfigurePage = () => { const [secretPath, setSecretPath] = useState("/"); const [isLoading, setIsLoading] = useState(false); - const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById( + const { data: integrationAuth, isPending: isIntegrationAuthLoading } = useGetIntegrationAuthById( (integrationAuthId as string) ?? "" ); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "" }); diff --git a/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsx index a8bc942f3..d87b99dde 100644 --- a/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsx +++ b/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsx @@ -68,7 +68,7 @@ export const VercelConfigurePage = () => { }); const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? ""); - const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = + const { data: integrationAuthApps, isPending: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({ integrationAuthId: (integrationAuthId as string) ?? "", teamId: integrationAuth?.teamId as string