mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
chore: remove useless code
This commit is contained in:
@@ -28,8 +28,6 @@ export const QuickSearch = ({ open, onClose }: TransitionsModalProps) => {
|
||||
useEffect(() => {
|
||||
const down = (e: KeyboardEvent) => {
|
||||
if (e.key === 'k' && e.metaKey) {
|
||||
console.log(e);
|
||||
|
||||
const selection = window.getSelection();
|
||||
if (selection?.toString()) {
|
||||
triggerQuickSearchModal(false);
|
||||
|
||||
Reference in New Issue
Block a user