mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
UX: Use System Theme for tooltip (#19954)
This commit is contained in:
parent
145280374d
commit
a8ad19da32
@ -42,7 +42,6 @@ export const TokenListItem = ({
|
||||
}) => {
|
||||
const t = useI18nContext();
|
||||
const primaryTokenImage = useSelector(getNativeCurrencyImage);
|
||||
const dataTheme = document.documentElement.getAttribute('data-theme');
|
||||
const trackEvent = useContext(MetaMetricsContext);
|
||||
const chainId = useSelector(getCurrentChainId);
|
||||
const badgeWrapperImage =
|
||||
@ -125,7 +124,6 @@ export const TokenListItem = ({
|
||||
html={title}
|
||||
disabled={title?.length < 12}
|
||||
tooltipInnerClassName="multichain-token-list-item__tooltip"
|
||||
theme={dataTheme === 'light' ? 'dark' : 'light'}
|
||||
>
|
||||
<Text
|
||||
fontWeight={FontWeight.Medium}
|
||||
|
Loading…
Reference in New Issue
Block a user