import React, { useState, useRef } from "react"; const ShareLink = () => { const [isCopied, setIsCopied] = useState(false); const inputRef = useRef(null); const currentURL = window.location.href; const handleCopyClick = () => { if (inputRef.current) { inputRef.current.select(); document.execCommand("copy"); setIsCopied(true); // Reset the copied state after 2 seconds setTimeout(() => setIsCopied(false), 2000); } }; return (

You can share this link with others. Anyone with the link will have access to the page, including the full audio recording, for the next 7 days.

); }; export default ShareLink;