From 6f6834302a5ec3d566514e2d84b798f46073d324 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sun, 17 Sep 2023 00:34:44 +0800 Subject: [PATCH] Frontend update table shortener copy to cursor pointer --- react-frontend/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-frontend/src/App.tsx b/react-frontend/src/App.tsx index 3fc580d..7a6d063 100644 --- a/react-frontend/src/App.tsx +++ b/react-frontend/src/App.tsx @@ -144,7 +144,6 @@ const ShortenerTable = ({ shorteners }: { shorteners: Shortener[] }) => { const { toast } = useToast() const copyLinkToClipboard = async (code: string) => { await navigator.clipboard.writeText(backend_url + '/' + code) - console.log(code) toast({ title: 'Link Copied', description: `Copied ${backend_url + '/' + code} To Clipboard`, @@ -168,6 +167,7 @@ const ShortenerTable = ({ shorteners }: { shorteners: Shortener[] }) => { {shortener.link} copyLinkToClipboard(shortener.code) }>