Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Aug 13, 2024
1 parent 5c7cb87 commit 4c7448e
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,30 +230,6 @@ function ParamRow({
);
}

function CopyDataButton({ transactionData }: { transactionData: string }) {
const t = useI18nContext();
const [copied, handleCopy] = useCopyToClipboard();

const handleClick = useCallback(() => {
handleCopy(transactionData);
}, [handleCopy, transactionData]);

return (
<Box paddingInline={2}>
<Tooltip position="right" title={copied ? t('copiedExclamation') : ''}>
<Button
onClick={handleClick}
variant={ButtonVariant.Link}
size={ButtonSize.Lg}
startIconName={copied ? IconName.CopySuccess : IconName.Copy}
>
{t('copyRawTransactionData')}
</Button>
</Tooltip>
</Box>
);
}

function UniswapPath({ pathPools }: { pathPools: UniswapPathPool[] }) {
return (
<Box
Expand Down

0 comments on commit 4c7448e

Please sign in to comment.