+6
-4
packages/web/src/App.tsx
+6
-4
packages/web/src/App.tsx
···
197
197
}));
198
198
199
199
setSearchResults(loadedResults);
200
-
setCurrentStep("results");
201
200
202
-
// If no matches yet, trigger search
201
+
// If no matches yet, trigger search BEFORE navigating to results
203
202
if (!hasMatches) {
204
203
const followLexicon = ATPROTO_APPS[currentDestinationAppId]?.followLexicon;
205
204
···
207
206
loadedResults,
208
207
(message) => setStatusMessage(message),
209
208
async (finalResults) => {
210
-
// Search complete - save results
211
-
// finalResults contains the updated results with all matches found
209
+
// Search complete - save results and navigate to results page
212
210
await saveResults(uploadId, platform, finalResults);
211
+
setCurrentStep("results");
213
212
},
214
213
followLexicon
215
214
);
215
+
} else {
216
+
// Already has matches, navigate to results immediately
217
+
setCurrentStep("results");
216
218
}
217
219
218
220
// Announce to screen readers only - visual feedback is navigation to results page