Skip to content

Commit

Permalink
fix(additionalEnquiry): fix render error for topicId 0
Browse files Browse the repository at this point in the history
  • Loading branch information
koepferd committed Nov 28, 2024
1 parent 276134a commit 3302adf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const AdditionalEnquiry: React.FC = () => {
<SelectDropdown {...topicsDropdown} />
</div>
}
{selectedTopicId && (
{selectedTopicId !== null && (
<AdditionalAgencySelection
selectedTopicId={selectedTopicId}
onAgencyChange={(agency) => setSelectedAgency(agency)}
Expand Down

0 comments on commit 3302adf

Please sign in to comment.