- Address: {' '}
+ Address:
- Owner:
+ Owner:
Created On: {new Date(data.created * 1000).toLocaleString()}
diff --git a/src/components/UserAccount/UserAccount.jsx b/src/components/UserAccount/UserAccount.jsx
index 854f2a8e..c11e15df 100644
--- a/src/components/UserAccount/UserAccount.jsx
+++ b/src/components/UserAccount/UserAccount.jsx
@@ -53,7 +53,7 @@ export default function UserAccount({ type, data }) {
Header: 'TXID',
accessor: 'txid',
Cell: (props) => {
- return ;
+ return ;
},
},
{
diff --git a/src/components/atoms/NE_CopyText/CopyText.jsx b/src/components/atoms/NE_CopyText/CopyText.jsx
index 2b7664d6..3f2fba71 100644
--- a/src/components/atoms/NE_CopyText/CopyText.jsx
+++ b/src/components/atoms/NE_CopyText/CopyText.jsx
@@ -3,8 +3,11 @@ import { useEffect, useState } from 'react';
import { BiClipboard, BiCopy, BiCheck } from 'react-icons/bi';
import { middleElipsis } from 'utils/converter';
import { handleCopy } from 'utils/helper';
+import useWindowSize from 'hooks/useWindowSize/useWindowSize';
export default function CopyText({ value, ellipsisAfter, link, className }) {
+ const windowSize = useWindowSize();
+
const [toastList, setToastList] = useState([]);
const [indicator, setIndicator] = useState(false);
@@ -38,7 +41,10 @@ export default function CopyText({ value, ellipsisAfter, link, className }) {
{value &&
`${
value.toString().length > 12
- ? middleElipsis(value, ellipsisAfter || 12)
+ ? middleElipsis(
+ value,
+ ellipsisAfter || windowSize.width < 500 ? 5 : 12
+ )
: value
}`}
diff --git a/src/pages/globalnames.jsx b/src/pages/globalnames.jsx
index 97395e4b..b4f6b2b9 100644
--- a/src/pages/globalnames.jsx
+++ b/src/pages/globalnames.jsx
@@ -21,7 +21,7 @@ export default function GlobalNames() {
{
Header: 'Address',
accessor: 'address',
- Cell: ({ value }) => ,
+ Cell: ({ value }) => ,
},
{
Header: 'Name',
diff --git a/src/pages/transactions.js b/src/pages/transactions.js
index 80cd3677..6bd911be 100644
--- a/src/pages/transactions.js
+++ b/src/pages/transactions.js
@@ -61,11 +61,7 @@ export default function Transactions() {
Header: 'Transaction ID',
accessor: 'txid',
Cell: (props) => (
-
+
),
},
{