Skip to content

Commit

Permalink
fix: simplify check
Browse files Browse the repository at this point in the history
  • Loading branch information
disaerna committed Oct 7, 2024
1 parent d4717ef commit cb2d042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const Subpoena = () => {

{error && !loading && <Problem error={error} noBorder={false} />}

{subpoena?.data?.groups && subpoena.data.groups.length > 0 && (
{subpoena?.data?.groups?.length && (
<>
<InfoLines groups={subpoena.data.groups} loading={loading} />
{subpoena.data.hasChosen && isDefined(subpoena?.data.defenderChoice) && (
Expand Down

0 comments on commit cb2d042

Please sign in to comment.