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

fix(ui-ux): filter out burn2 symbol for poolpair tokens #163

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading