Skip to content

Commit

Permalink
fix: remove xchain from legend (#1013)
Browse files Browse the repository at this point in the history
## High Level Overview of Change

This PR removes `XChain` from the homepage legend.

### Context of Change

XLS-38 has been put on hiatus for now. If it starts moving back towards
being activated, we can revert this commit.

### Type of Change

- [x] Bug fix (non-breaking change which fixes an issue)
  • Loading branch information
mvadari authored Jul 5, 2024
1 parent 81be2d0 commit cd21a6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/containers/Ledgers/Legend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const Legend = () => {
TransactionCategory.DEX,
TransactionCategory.NFT,
TransactionCategory.ACCOUNT,
TransactionCategory.XCHAIN,
TransactionCategory.PSEUDO,
TransactionCategory.UNKNOWN,
]
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Ledgers/test/Legend.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe(`Legend`, () => {
expect(wrapper.find('.legend-heading')).toHaveLength(2)
expect(wrapper.find('.legend-section')).toHaveLength(2)
expect(wrapper.find(TransactionActionIcon)).toHaveLength(5)
expect(wrapper.find('.legend-category')).toHaveLength(7)
expect(wrapper.find('.legend-category')).toHaveLength(6)
wrapper.unmount()
})
it(`renders open when localStorage entry 'explorer-legend-previous-interaction' is set to false`, () => {
Expand Down

0 comments on commit cd21a6c

Please sign in to comment.