You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
This reverts commit b98e64c881
.
Ref: https://github.com/laurent22/joplin/issues/6035
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import { useState, useCallback } from 'react';
|
||||
import Logger from '@joplin/lib/Logger';
|
||||
import { SearchMarkers } from './useSearchMarkers';
|
||||
const CommandService = require('@joplin/lib/services/CommandService').default;
|
||||
|
||||
const logger = Logger.create('useNoteSearchBar');
|
||||
|
||||
@ -71,7 +70,6 @@ export default function useNoteSearchBar() {
|
||||
const onClose = useCallback(() => {
|
||||
setShowLocalSearch(false);
|
||||
setLocalSearch(defaultLocalSearch());
|
||||
void CommandService.instance().execute('focusElementNoteBody');
|
||||
}, []);
|
||||
|
||||
const setResultCount = useCallback((count: number) => {
|
||||
|
Reference in New Issue
Block a user