From 62c5ea8a15469cba24d76deaa3f1295e4c8754e9 Mon Sep 17 00:00:00 2001 From: Adrian Pascu Date: Sun, 29 Oct 2023 16:56:21 +0100 Subject: [PATCH] Fix error when clicking the source code link --- src/Countdown.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Countdown.tsx b/src/Countdown.tsx index fe359f8..39a16d5 100644 --- a/src/Countdown.tsx +++ b/src/Countdown.tsx @@ -17,6 +17,8 @@ const animationLoop = (cb: (time: DOMHighResTimeStamp) => void) => { return () => cancelAnimationFrame(handle); }; +const COPY_LABEL = "Click to copy age to clipboard"; + export default ({ birthDay, openSettings, @@ -91,8 +93,6 @@ export default ({ />
-
{largeAge()}
+
+ {largeAge()} +