Skip to content

Commit 2f280ec

Browse files
committed
lint
1 parent 8e66a0f commit 2f280ec

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

special-pages/pages/new-tab/app/activity/mocks/activity.mock-transport.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function activityMockTransport() {
9595
/** @type {import('../../../types/new-tab.ts').ActivityGetUrlsRequest['result']} */
9696
const next = {
9797
// chop off the first item
98-
urls: urls,
98+
urls,
9999
totalTrackersBlocked: x.activity
100100
.slice(0, 1)
101101
.reduce((acc, item) => acc + item.trackingStatus?.totalCount, 0),
@@ -112,7 +112,7 @@ export function activityMockTransport() {
112112
/** @type {import('../../../types/new-tab.ts').ActivityOnDataPatchSubscription['params']} */
113113
const next = {
114114
// chop off the first item
115-
urls: urls,
115+
urls,
116116
totalTrackersBlocked: x.activity
117117
.slice(0, 1)
118118
.reduce((acc, item) => acc + item.trackingStatus?.totalCount, 0),
@@ -211,9 +211,6 @@ export function activityMockTransport() {
211211
const config = {
212212
expansion: 'expanded',
213213
};
214-
if (url.searchParams.get('activity.api') === 'batched') {
215-
config.api = 'batched';
216-
}
217214
return Promise.resolve(config);
218215
}
219216
default: {

0 commit comments

Comments
 (0)