chore(react): clean up

This commit is contained in:
Elian Doran
2025-08-03 19:50:39 +03:00
parent f8b563704f
commit 04913394c6
2 changed files with 4 additions and 4 deletions

View File

@@ -1,11 +1,10 @@
import { useEffect, useRef } from "preact/hooks";
import shortcuts from "../../services/shortcuts";
import { useRef } from "preact/hooks";
interface ButtonProps {
text: string;
className?: string;
keyboardShortcut?: string;
onClick: () => void;
onClick?: () => void;
}
export default function Button({ className, text, onClick, keyboardShortcut }: ButtonProps) {