Skip to content

Commit

Permalink
Merge pull request #2532 from Giveth/fix_celo_price
Browse files Browse the repository at this point in the history
Fix celo price
  • Loading branch information
alireza-sharifpour authored Apr 18, 2023
2 parents f4716ef + c2d54a0 commit 527d393
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "givethdapp",
"version": "2.14.7",
"version": "2.14.8",
"private": true,
"scripts": {
"build": "next build",
Expand Down
3 changes: 2 additions & 1 deletion src/components/modals/DonateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ const DonateModal: FC<IDonateModalProps> = props => {
tokenAddress = token.mainnetAddress || '';
}
const coingeckoChainId =
isMainnet || token.mainnetAddress
isMainnet ||
(token.mainnetAddress && token.symbol !== 'CELO')
? config.MAINNET_NETWORK_NUMBER
: isGnosis
? config.XDAI_NETWORK_NUMBER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const UserAddress: FC<IProps> = ({ address, remove }) => {
<Container>
<Input
disabled
value={walletAddress.toLowerCase()}
value={walletAddress?.toLowerCase()}
label={title + ' - ' + networkInfo(networkId).networkName}
name='walletAddress'
/>
Expand Down

0 comments on commit 527d393

Please sign in to comment.