Skip to content

Commit

Permalink
Merge pull request #37 from burrowHQ/modify-frax-icon
Browse files Browse the repository at this point in the history
update frax and sfrax icon
  • Loading branch information
aidai524 authored Feb 16, 2024
2 parents f1c225e + 162b2d5 commit 4a8a6b4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions components/Assets/index.tsx

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import BN from "bn.js";
import Decimal from "decimal.js";

import { defaultNetwork, LOGIC_CONTRACT_NAME } from "./config";
import { nearMetadata, wooMetadata } from "../components/Assets";
import { nearMetadata, wooMetadata, sfraxMetadata, fraxMetadata } from "../components/Assets";

import {
ChangeMethodsLogic,
Expand Down Expand Up @@ -221,5 +221,11 @@ export function standardizeAsset(asset) {
if (asset.symbol === "WOO") {
asset.icon = wooMetadata.icon;
}
if (asset.symbol === "sFRAX") {
asset.icon = sfraxMetadata.icon;
}
if (asset.symbol === "FRAX") {
asset.icon = fraxMetadata.icon;
}
return asset;
}

0 comments on commit 4a8a6b4

Please sign in to comment.