Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(ui-ux): filter out burn2 symbol for poolpair tokens (#163)
Browse files Browse the repository at this point in the history
* fix(ui-ux): filter out burn2 symbol for poolpair tokens

* fix prettier
  • Loading branch information
chloezxyy authored Sep 5, 2023
1 parent 118e603 commit 770c3a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/walletkit-ui/src/store/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ export const wallet = createSlice({
(state, action: PayloadAction<DexItem[]>) => {
state.hasFetchedPoolpairData = true;
state.poolpairs = action.payload.filter(
({ data }) => !data.symbol.includes("/v1"),
({ data }) =>
!data.symbol.includes("/v1") && !data.symbol.includes("BURN2"),
); // Filter out v1 pairs due to stock split
},
);
Expand Down

0 comments on commit 770c3a4

Please sign in to comment.