Skip to content

Commit

Permalink
fixup! fixup! fixup! fix: react-native runtime incompatibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasl committed Oct 3, 2024
1 parent 3fe49c9 commit e61a70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/fetch-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export class FetchBuilder {
* @returns the builder itself
*/
route(match: (url: string) => boolean, fetch: SimpleFetch) {
return this.compose(next => request => (match(request.url) ? fetch(request) : next(request)));
return this.compose(next => request => match(request.url) ? fetch(request) : next(request));
}

/**
Expand Down

0 comments on commit e61a70c

Please sign in to comment.