diff --git a/libs/remix-ui/solidity-uml-gen/src/lib/components/UmlDownload.tsx b/libs/remix-ui/solidity-uml-gen/src/lib/components/UmlDownload.tsx index 69bbd20610..8868e43ce6 100644 --- a/libs/remix-ui/solidity-uml-gen/src/lib/components/UmlDownload.tsx +++ b/libs/remix-ui/solidity-uml-gen/src/lib/components/UmlDownload.tsx @@ -55,7 +55,12 @@ export default function UmlDownload(props: UmlDownloadProps) { > - props.download('png')}> + { + _paq.push(['trackEvent', 'solidityumlgen', 'download', 'downloadAsPng']) + props.download('png') + }} + >
{ - _paq.push(['trackEvent', 'solidityumlgen', 'download', 'downloadAsPng']) - props.download('png') - }} > - props.download('pdf')}> + { + _paq.push(['trackEvent', 'solUmlgen', 'download', 'downloadAsPdf']) + props.download('pdf') + }} + >
{ - _paq.push(['trackEvent', 'solUmlgen', 'download', 'downloadAsPdf']) - props.download('pdf') - }} >