Skip to content

Commit

Permalink
fix(deployment): fix deployment not found
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 committed Jan 23, 2025
1 parent b7537fc commit b9c35bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const DeploymentDetail: FC<DeploymentDetailProps> = ({ dseq }) => {
}
});

const isDeploymentNotFound = (deploymentError && (deploymentError as any).response?.data?.message?.includes("Deployment not found")) || !address;
const isDeploymentNotFound = deploymentError && (deploymentError as any).response?.data?.message?.includes("Deployment not found") && !isLoadingDeployment;
const hasLeases = leases && leases.length > 0;
const { isLocalCertMatching, localCert, isCreatingCert, createCertificate } = useCertificate();
const { data: providers, isFetching: isLoadingProviders, refetch: getProviders } = useProviderList();
Expand Down

0 comments on commit b9c35bc

Please sign in to comment.