function copyCommand()

in src/components/ShellCommand/index.tsx [16:21]


  function copyCommand() {
    if (copied) return;
    window.navigator.clipboard.writeText(command);
    setCopied(true);
    setTimeout(() => setCopied(false), 2000);
  }