Skip to content

Commit

Permalink
chore: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
therealemjy committed Feb 25, 2025
1 parent ab05017 commit 9a3a12d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/clean-ladybugs-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

update behavior to switch chains
2 changes: 0 additions & 2 deletions apps/evm/src/containers/ConnectWallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ export const ConnectWallet: React.FC<ConnectWalletProps> = ({

const { t } = useTranslation();

console.log('isUserConnected', isUserConnected);

return (
<div {...otherProps}>
{isUserConnected ? (
Expand Down
3 changes: 0 additions & 3 deletions apps/evm/src/libs/translations/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@
"label": "Bridge gas fee",
"tooltip": "Used to cover the gas cost for sending your transfer on the destination chain"
},
"connectWalletButton": {
"label": "Connect wallet"
},
"errors": {
"dailyTransactionLimitExceeded": {
"message": "You cannot bridge more than {{readableAmountTokens}} ({{readableAmountUsd}}) on the destination chain due to the 24-hour limit. This limit will be reset on {{ date, dd MMM yyyy h:mm a }}",
Expand Down
4 changes: 2 additions & 2 deletions apps/evm/src/pages/Bridge/__tests__/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ describe('Bridge', () => {
const { getByText } = renderComponent(<Bridge />);

// Check connect button is present
await waitFor(() => getByText(en.bridgePage.connectWalletButton.label));
await waitFor(() => getByText(en.connectButton.connect));

// Click on connect button
fireEvent.click(getByText(en.bridgePage.connectWalletButton.label).closest('button')!);
fireEvent.click(getByText(en.connectButton.connect).closest('button')!);

await waitFor(() => expect(openAuthModalMock).toHaveBeenCalledTimes(1));
});
Expand Down

0 comments on commit 9a3a12d

Please sign in to comment.