diff --git a/src/app/components/Account/AccountLinkWithAddressSwitch.tsx b/src/app/components/Account/AccountLinkWithAddressSwitch.tsx index 91c7ece86..48a90ee73 100644 --- a/src/app/components/Account/AccountLinkWithAddressSwitch.tsx +++ b/src/app/components/Account/AccountLinkWithAddressSwitch.tsx @@ -1,4 +1,17 @@ import { AccountLink } from './AccountLink' import { withAddressSwitch } from './withAddressSwitch' +import Box from '@mui/material/Box' export const AccountLinkWithAddressSwitch = withAddressSwitch(AccountLink) + +export const WrappedAccountLinkWithAddressSwitch: typeof AccountLinkWithAddressSwitch = props => ( + + + +) diff --git a/src/app/components/RuntimeEvents/RuntimeEventDetails.tsx b/src/app/components/RuntimeEvents/RuntimeEventDetails.tsx index 7902cd131..a1337e0bc 100644 --- a/src/app/components/RuntimeEvents/RuntimeEventDetails.tsx +++ b/src/app/components/RuntimeEvents/RuntimeEventDetails.tsx @@ -24,7 +24,10 @@ import StreamIcon from '@mui/icons-material/Stream' import LocalFireDepartmentIcon from '@mui/icons-material/LocalFireDepartment' import { getPreciseNumberFormat } from '../../../locales/getPreciseNumberFormat' import { MaybeEventErrorLine } from './EventError' -import { AccountLinkWithAddressSwitch } from '../Account/AccountLinkWithAddressSwitch' +import { + AccountLinkWithAddressSwitch, + WrappedAccountLinkWithAddressSwitch, +} from '../Account/AccountLinkWithAddressSwitch' import ArrowDownwardIcon from '@mui/icons-material/ArrowDownward' import ArrowForwardIcon from '@mui/icons-material/ArrowForward' import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward' @@ -207,7 +210,7 @@ export const RuntimeEventDetails: FC<{
{t('runtimeEvent.fields.emittingContract')}:
- {t('runtimeEvent.fields.emittingContract')}:
-