diff --git a/frontend/src/pages/account/reverseShares.tsx b/frontend/src/pages/account/reverseShares.tsx index 6d8541f..b28275a 100644 --- a/frontend/src/pages/account/reverseShares.tsx +++ b/frontend/src/pages/account/reverseShares.tsx @@ -1,6 +1,7 @@ import { Accordion, ActionIcon, + Anchor, Box, Button, Center, @@ -34,6 +35,8 @@ const MyShares = () => { const [reverseShares, setReverseShares] = useState(); + const appUrl = config.get("general.appUrl"); + const getReverseShares = () => { shareService .getMyReverseShares() @@ -119,9 +122,11 @@ const MyShares = () => { {reverseShare.shares.map((share) => ( - - {share.id} - + + + {share.id} + + { onClick={() => { if (window.isSecureContext) { clipboard.copy( - `${config.get( - "general.appUrl" - )}/share/${share.id}` + `${appUrl}/share/${share.id}` ); toast.success( "The share link was copied to the keyboard."