Skip to content

Commit 103374e

Browse files
committed
fix: lint
1 parent 3e73745 commit 103374e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/content/pages/problemset/intercept.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ export function intercept(): void {
2323
try {
2424
const urlObj = new URL(url)
2525
pathname = urlObj.pathname
26-
} catch (error) {}
26+
} catch (error) {
27+
//
28+
}
2729
if (
2830
!disbaleIntercept &&
2931
method.toLocaleLowerCase() === 'post' &&
@@ -132,7 +134,9 @@ export function intercept(): void {
132134
body.variables.filters.sortOrder = 'DESCENDING'
133135
str = JSON.stringify(body)
134136
}
135-
} catch (error) {}
137+
} catch (error) {
138+
//
139+
}
136140
}
137141
return originalSend.call(this, str)
138142
}

0 commit comments

Comments
 (0)