mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	chore(react/ribbon): working execute search button
This commit is contained in:
		| @@ -109,7 +109,7 @@ export function useTriliumEventBeta<T extends EventNames>(eventName: T | T[], ha | ||||
|     } | ||||
| } | ||||
|  | ||||
| export function useSpacedUpdate(callback: () => Promise<void>, interval = 1000) { | ||||
| export function useSpacedUpdate(callback: () => void | Promise<void>, interval = 1000) { | ||||
|     const callbackRef = useRef(callback); | ||||
|     const spacedUpdateRef = useRef<SpacedUpdate>(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user