add address book

This commit is contained in:
apoorvlathey
2023-06-15 03:38:10 +05:30
parent 43c1523772
commit c33693b4e6
6 changed files with 278 additions and 89 deletions

View File

@@ -26,7 +26,7 @@ import {
import CopyToClipboard from "./CopyToClipboard";
import { TxnDataType } from "../../types";
const slicedText = (txt: string) => {
export const slicedText = (txt: string) => {
return txt.length > 6
? `${txt.slice(0, 4)}...${txt.slice(txt.length - 2, txt.length)}`
: txt;