diff --git a/explorer/src/components/Signature.tsx b/explorer/src/components/Signature.tsx index e8a2b7f38c..e799507813 100644 --- a/explorer/src/components/Signature.tsx +++ b/explorer/src/components/Signature.tsx @@ -1,8 +1,8 @@ import React, { useState } from "react"; type SignatureProps = { - text: string -} + text: string; +}; const popover = (
@@ -16,11 +16,10 @@ function Signature({ text }: SignatureProps) { const copyToClipboard = () => navigator.clipboard.writeText(text); const handleClick = () => - copyToClipboard() - .then(() => { - setShowPopover(true); - setTimeout(setShowPopover.bind(null, false), 2500); - }); + copyToClipboard().then(() => { + setShowPopover(true); + setTimeout(setShowPopover.bind(null, false), 2500); + }); return (