Skip to content

add a catch to the wake-up dummy autocomplete fetch - #641

Open
AbhiramTadepalli wants to merge 1 commit into
developfrom
632-add-a-catch-to-a-dummy-autocomplete-fetch-in-searchbartsx
Open

add a catch to the wake-up dummy autocomplete fetch#641
AbhiramTadepalli wants to merge 1 commit into
developfrom
632-add-a-catch-to-a-dummy-autocomplete-fetch-in-searchbartsx

Conversation

@AbhiramTadepalli

Copy link
Copy Markdown
Contributor

Overview

Fixes #632 to resolve Sentry issue TRENDS-17

What Changed

The fetch('/api/autocomplete?input=someSearchTerm') is used to wake up the autocomplete endpoint. It needs a catch() to prevent a network error from crashing app (in IOS Safari among other environments).

To prevent network error from crashing app in IOS Safari
@AbhiramTadepalli
AbhiramTadepalli requested review from a team as code owners August 9, 2026 02:07
@AbhiramTadepalli AbhiramTadepalli linked an issue Aug 9, 2026 that may be closed by this pull request
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
utd-trends Ready Ready Preview Aug 9, 2026 2:07am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a catch() to a dummy autocomplete fetch in SearchBar.tsx

1 participant