Skip to content

Commit

Permalink
πŸš€ chore(push-docker-main.yml): update docker image tag to v0.0.4
Browse files Browse the repository at this point in the history
πŸ”§ refactor(constants.ts): update token names and symbols
πŸ”¨ refactor(bridge-form.view.tsx, token-balance.view.tsx): update token symbol
  • Loading branch information
andskur committed Mar 27, 2024
1 parent 7702a2a commit 9520f2e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-docker-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
push: true
tags: gatewayfm/zkevm-bridge-ui-generic:v0.0.3
tags: gatewayfm/zkevm-bridge-ui-generic:v0.0.4
6 changes: 3 additions & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ export const getChains = ({
explorerUrl: polygonZkEVM.explorerUrl,
Icon: PolygonZkEVMChainIcon,
key: "polygon-zkevm",
name: "FractionAI Testnet",
name: "PandaChain Testnet",
nativeCurrency: {
decimals: 18,
name: "FRAC",
symbol: "FRAC",
name: "PAMBO",
symbol: "PAMBO",
},
networkId: polygonZkEVM.networkId,
provider: polygonZkEVMProvider,
Expand Down
2 changes: 1 addition & 1 deletion src/views/home/components/bridge-form/bridge-form.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export const BridgeForm: FC<BridgeFormProps> = ({ account, formData, onResetForm
let symbol = token.symbol;

if (chainId !== "ethereum" && token.symbol === "ETH") {
symbol = "FRAC";
symbol = "PAMBO";
}


Expand Down
2 changes: 1 addition & 1 deletion src/views/shared/token-balance/token-balance.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const TokenBalance: FC<TokenBalanceProps> = ({ chainId, spinnerSize, toke


if (chainId !== "ethereum" && token.symbol === "ETH") {
symbol = "FRAC";
symbol = "PAMBO";
}

if (!token.balance) {
Expand Down

0 comments on commit 9520f2e

Please sign in to comment.