diff --git a/src/components/Atoms/Address/Address.tsx b/src/components/Atoms/Address/Address.tsx index 6b13f8dd..3335b521 100644 --- a/src/components/Atoms/Address/Address.tsx +++ b/src/components/Atoms/Address/Address.tsx @@ -14,17 +14,15 @@ export const Address: React.FC = ({ } return ( - <> -

- {avatar && } +

+ {avatar && } - - {actionableWrapper( - actionable_address(address), - label?.trim() || truncate(address), - )} - -

- + {actionableWrapper( + actionable_address(address), + label?.trim() || truncate(address), + )} + + +

); }; diff --git a/src/components/Shared/CopyData.tsx b/src/components/Shared/CopyData.tsx index b68585ab..48492137 100644 --- a/src/components/Shared/CopyData.tsx +++ b/src/components/Shared/CopyData.tsx @@ -5,7 +5,7 @@ import { useToast } from "@/utils/hooks"; import { type CopyDataProps } from "@/utils/types/shared.types"; import { useState } from "react"; -export const CopyData: React.FC = ({ children, data }) => { +export const CopyData: React.FC = ({ data }) => { const [copied, showCopied] = useState(false); const { toast } = useToast(); @@ -26,13 +26,11 @@ export const CopyData: React.FC = ({ children, data }) => {