Skip to content

Commit

Permalink
remove default icon
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqian authored and xieqian committed Mar 21, 2024
1 parent 7dc0603 commit 3f1d3b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions redux/selectors/getAccountRewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Decimal from "decimal.js";
import { createSelector } from "@reduxjs/toolkit";
import { omit } from "lodash";

import { NEAR_LOGO_SVG, shrinkToken } from "../../store";
import { shrinkToken } from "../../store";
import { RootState } from "../store";
import { Asset, AssetsState } from "../assetState";
import { Farm, FarmData, Portfolio } from "../accountState";
Expand Down Expand Up @@ -224,7 +224,7 @@ export const getAccountRewards = createSelector(
);

return {
icon: icon || `data:image/svg+xml,${NEAR_LOGO_SVG}`,
icon,
name,
symbol,
tokenId: rewardTokenId,
Expand Down
4 changes: 2 additions & 2 deletions redux/selectors/getProtocolRewards.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createSelector } from "@reduxjs/toolkit";

import { NEAR_LOGO_SVG, shrinkToken } from "../../store";
import { shrinkToken } from "../../store";
import { RootState } from "../store";
import { INetTvlFarmReward } from "../../interfaces/asset";

Expand All @@ -26,7 +26,7 @@ export const getProtocolRewards = createSelector(
const dailyAmount = Number(shrinkToken(farm.reward_per_day, assetDecimals));
const remainingAmount = Number(shrinkToken(farm.remaining_rewards, assetDecimals));
return {
icon: icon || `data:image/svg+xml,${NEAR_LOGO_SVG}`,
icon,
name,
symbol,
tokenId,
Expand Down

0 comments on commit 3f1d3b8

Please sign in to comment.