Skip to content

Commit

Permalink
Remove redundant optional chaining
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis Sen <[email protected]>
  • Loading branch information
dopenguin and warm-coolguy authored Feb 26, 2025
1 parent 7927a88 commit a0af7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/createMap/addInterceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function addInterceptor(interceptorUrlRegex: string) {
if (
interceptorUrlRegex &&
typeof resource === 'string' &&
resource?.match(interceptorUrlRegex)
resource.match(interceptorUrlRegex)
) {
config = {
...originalConfig,
Expand Down

0 comments on commit a0af7c0

Please sign in to comment.