mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
chore(react): clean up
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user