From 205c1dde561aaef7b8f8168f4d0310e71039f3eb Mon Sep 17 00:00:00 2001 From: Michal Zielenkiewicz Date: Mon, 11 Dec 2023 12:25:35 +0100 Subject: [PATCH] Show creator data in three rows on mobile --- src/app/components/Account/ContractCreatorInfo.tsx | 13 +++---------- src/locales/en/translation.json | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/app/components/Account/ContractCreatorInfo.tsx b/src/app/components/Account/ContractCreatorInfo.tsx index 4784a8754d..a944c83624 100644 --- a/src/app/components/Account/ContractCreatorInfo.tsx +++ b/src/app/components/Account/ContractCreatorInfo.tsx @@ -1,6 +1,6 @@ import { FC } from 'react' import { SearchScope } from '../../../types/searchScope' -import { Trans, useTranslation } from 'react-i18next' +import { useTranslation } from 'react-i18next' import { TransactionLink } from '../Transactions/TransactionLink' import { Layer, @@ -60,15 +60,8 @@ export const ContractCreatorInfo: FC<{ }} > - - , - }} - /> - + {t('contract.createdAt')} + ) } diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 605d208676..01542ea1a5 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -111,7 +111,7 @@ "copyButton": "Copy {{subject}}", "creationByteCode": "Creation ByteCode", "creator": "Creator", - "createdAt": "at ", + "createdAt": "at", "noCode": "There is no bytecode on record for this account. (Are you sure this is a contract?)", "title": "Contract", "runtimeByteCode": "Runtime ByteCode",