chore(ui): drop the fetch lookup note from the fetchClient docblock

This commit is contained in:
ryan-crabbe-berri 2026-09-04 20:26:13 -07:00
parent 1d375d8ada
commit f73e683800

View file

@ -43,10 +43,9 @@ const middleware: Middleware = {
*
* The base URL is injected, not fixed at import: every request is built against
* whatever registerBaseUrlGetter supplies at call time (a split-origin proxy or
* worker URL), falling back to the current origin. `fetch` is looked up per
* request for the same reason, so a test that stubs the global sees these calls
* too. The middleware injects the auth header and maps non-2xx responses to
* ApiError so query functions can just read `.data`.
* worker URL), falling back to the current origin. The middleware injects the
* auth header and maps non-2xx responses to ApiError so query functions can just
* read `.data`.
*/
export const fetchClient = createFetchClient<paths>({
Request: BaseAwareRequest,