Skip to content

Commit

Permalink
Merge pull request #318 from lidofinance/develop
Browse files Browse the repository at this point in the history
Merge develop to main
  • Loading branch information
jake4take committed Apr 16, 2024
2 parents c6f5806 + 5afdecb commit 96bd38f
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 137 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"react-hook-form": "^7.45.2",
"react-is": "^18.2.0",
"react-transition-group": "^4.4.2",
"reef-knot": "^3.0.2",
"reef-knot": "^4.1.3",
"remark": "^13.0.0",
"remark-external-links": "^8.0.0",
"remark-html": "^13.0.1",
Expand Down
7 changes: 5 additions & 2 deletions shared/wallet/connect-wallet-modal/connect-wallet-modal.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import { WalletsModalForEth } from 'reef-knot/connect-wallet-modal';
import { useThemeToggle } from '@lidofinance/lido-ui';

import { WalletsModalForEth } from 'reef-knot/connect-wallet-modal';
import { WalletIdsEthereum } from 'reef-knot/wallets';
import { walletsMetrics } from 'consts/matomo-wallets-events';

const WALLETS_PINNED: WalletIdsEthereum[] = ['okx', 'browserExtension'];

export const ConnectWalletModal = () => {
const { themeName } = useThemeToggle();

return (
<WalletsModalForEth
shouldInvertWalletIcon={themeName === 'dark'}
metrics={walletsMetrics}
walletsPinned={WALLETS_PINNED}
/>
);
};

0 comments on commit 96bd38f

Please sign in to comment.