Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore: lower search match wait time for pdf (#303)

gbirman945c45b9c6e9
diff --git a/js/app/packages/block-pdf/signal/location.ts b/js/app/packages/block-pdf/signal/location.ts
index 03c2c68983..3aeee0e84f 100644
--- a/js/app/packages/block-pdf/signal/location.ts
+++ b/js/app/packages/block-pdf/signal/location.ts
@@ -636,9 +636,7 @@ function useGoToPdfLocation() {
const findControllerStateEvent = await waitForSignal(
findControllerStateEventSignal,
(val) =>
- val?.state === FindState.FOUND ||
- val?.state === FindState.NOT_FOUND,
- 10000
+ val?.state === FindState.FOUND || val?.state === FindState.NOT_FOUND
).catch((_e) => {
console.error('search timed out');
return undefined;