import Bubbles from '../components/Bubbles' import Link from 'next/link' import { useRouter } from "next/router"; import { NotificationManager } from 'react-notifications'; export default function Header({ searchText, changeSearch }) { const copyToClipboard = () => { var textField = document.createElement('textarea') textField.innerText = listUrl document.body.appendChild(textField) textField.select() document.execCommand('copy') textField.remove() NotificationManager.info('URL successfully copied to clipboard', 'Copy URL', 4000); } const listUrl = process.env.listUrl; const router = useRouter(); return (
{process.env.name}
A p p l i c a t i o n   D a t a b a s e
) }