Skip to content

Commit

Permalink
Merge pull request #1050 from alleslabs/fix/network-sub-gap
Browse files Browse the repository at this point in the history
fix: network sub gap
  • Loading branch information
songwongtp authored Jul 26, 2024
2 parents 0c98bb3 + c0ba886 commit 77beed0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#1050](https://github.com/alleslabs/celatone-frontend/pull/1050) Fix gap between network subsection

## v1.7.2

### Features
Expand Down
16 changes: 9 additions & 7 deletions src/lib/layout/network-menu/NetworkAccordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ export const NetworkAccordion = ({
</AccordionButton>
<AccordionPanel p={0}>
<Flex direction="column" gap={4}>
<NetworkAccordionSubsection
networks={nonInitiaNetworks}
cursor={cursor}
setCursor={setCursor}
subsectionStartIndex={startIndex}
onClose={onClose}
/>
{nonInitiaNetworks.length > 0 && (
<NetworkAccordionSubsection
networks={nonInitiaNetworks}
cursor={cursor}
setCursor={setCursor}
subsectionStartIndex={startIndex}
onClose={onClose}
/>
)}
{l1Networks.length > 0 && (
<NetworkAccordionSubsection
title="Initia (Layer 1)"
Expand Down

0 comments on commit 77beed0

Please sign in to comment.