From d4b24364d9da603928a08d219d5e8fad92c42aef Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 14 Nov 2024 19:17:27 +0100 Subject: [PATCH] change dropdown to custom dropdown --- .../run-tab/src/lib/components/account.tsx | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/libs/remix-ui/run-tab/src/lib/components/account.tsx b/libs/remix-ui/run-tab/src/lib/components/account.tsx index 27b3b7264d..76280db056 100644 --- a/libs/remix-ui/run-tab/src/lib/components/account.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/account.tsx @@ -4,7 +4,8 @@ import { FormattedMessage, useIntl } from 'react-intl' import { CopyToClipboard } from '@remix-ui/clipboard' import { AccountProps } from '../types' import { PassphrasePrompt } from './passphrase' -import { CustomTooltip } from '@remix-ui/helper' +import { CustomMenu, CustomToggle, CustomTooltip } from '@remix-ui/helper' +import { Dropdown } from 'react-bootstrap' const _paq = window._paq = window._paq || [] export function AccountUI(props: AccountProps) { @@ -235,7 +236,27 @@ export function AccountUI(props: AccountProps) { {props.accounts.isRequesting && }
- ))} - + */}
) @@ -280,4 +301,4 @@ const EIP712_Example = { { name: 'createdAt', type: 'uint256' }, ], }, -} \ No newline at end of file +}