Many hotkey improvements

This commit is contained in:
Gregory Schier
2024-02-27 10:10:38 -08:00
parent 2705e90016
commit e12b85daae
8 changed files with 104 additions and 84 deletions

View File

@@ -38,7 +38,7 @@ export function useGrpc(
mutationFn: async () => await emit(`grpc_client_msg_${conn?.id ?? 'none'}`, 'Commit'),
});
const debouncedUrl = useDebouncedValue<string>(req?.url ?? 'n/a', 1000);
const debouncedUrl = useDebouncedValue<string>(req?.url ?? 'n/a', 500);
const reflect = useQuery<ReflectResponseService[], string>({
enabled: req != null,
queryKey: ['grpc_reflect', req?.id ?? 'n/a', debouncedUrl],