diff --git a/src/renderer/src/windows/mini/home/components/Footer.tsx b/src/renderer/src/windows/mini/home/components/Footer.tsx index abebc4ed7..cc2e7179e 100644 --- a/src/renderer/src/windows/mini/home/components/Footer.tsx +++ b/src/renderer/src/windows/mini/home/components/Footer.tsx @@ -33,15 +33,15 @@ const Footer: FC = ({ onEsc() }) - useHotkeys('c', () => { - handleCopy() - }) - const handleCopy = () => { if (loading || !onCopy) return onCopy() } + useHotkeys('c', () => { + handleCopy() + }) + return (