Skip to content

Commit 2a8bbdc

Browse files
committed
Linting
1 parent 10e90d8 commit 2a8bbdc

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

assets/js/dashboard/stats/sources/search-terms.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export function SearchTerms() {
202202
state={moreLinkState}
203203
linkProps={{
204204
path: referrersGoogleRoute.path,
205-
search: (search: any) => search
205+
search: (search: URLSearchParams) => search
206206
}}
207207
/>
208208
</ReportHeader>

assets/js/dashboard/stats/sources/source-list.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,6 @@ function UTMSources({ tab, afterFetchData }) {
135135
const site = useSiteContext()
136136
const utmTag = UTM_TAGS[tab]
137137

138-
const route = {
139-
utm_medium: utmMediumsRoute,
140-
utm_source: utmSourcesRoute,
141-
utm_campaign: utmCampaignsRoute,
142-
utm_content: utmContentsRoute,
143-
utm_term: utmTermsRoute
144-
}[tab]
145-
146138
function fetchData() {
147139
return api.get(url.apiPath(site, utmTag.endpoint), query, { limit: 9 })
148140
}

0 commit comments

Comments
 (0)