Skip to content

Commit

Permalink
Fix: render condition
Browse files Browse the repository at this point in the history
  • Loading branch information
georgipavlov-7DIGIT committed Sep 19, 2024
1 parent 07c4937 commit bb838bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/OrganizationDetails/OrganizationDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ export const OrganizationDetails = () => {
}}
isCtaLoading={removeProviderMutation.isLoading}
>
{providerToRemove?.futureConsultations && (
{providerToRemove?.futureConsultations ? (
<h3 style={{ marginTop: "2rem" }}>
{t("has_future_consultations", {
count: providerToRemove?.futureConsultations,
})}
</h3>
)}
) : null}
</Modal>
<Modal
isOpen={showAddProviderModal}
Expand Down

0 comments on commit bb838bf

Please sign in to comment.