Skip to content

Commit

Permalink
Fix Switch/Show order
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman authored and futurepaul committed Feb 15, 2024
1 parent c1c3465 commit 1b3cb09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/ActivityDetailsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,8 @@ export function ActivityDetailsModal(props: {
</FancyCard>
</Dialog.Title>
<Hr />
<Switch>
<Show when={data.latest}>
<Show when={data.latest}>
<Switch>
<Match when={kind() === "Lightning"}>
<LightningDetails
info={data() as MutinyInvoice}
Expand All @@ -596,8 +596,8 @@ export function ActivityDetailsModal(props: {
info={data() as ChannelClosure}
/>
</Match>
</Show>
</Switch>
</Switch>
</Show>
</div>
</Suspense>
</Dialog.Content>
Expand Down

0 comments on commit 1b3cb09

Please sign in to comment.