Skip to content

Commit 2d2f474

Browse files
committed
wip
1 parent 686db6f commit 2d2f474

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/browser/src/browser/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ async function flushFinalBuffer(
216216
}
217217

218218
const getQueryString = (): string => {
219-
// this is legacy code, I've just moved this into a function
219+
// this is legacy code, I've just moved this into a function.
220220
const hash = window.location.hash ?? ''
221221
const search = window.location.search ?? ''
222222
const term = search.length ? search : hash.replace(/(?=#).*(?=\?)/, '')
@@ -228,7 +228,6 @@ const flushQueryString = async (
228228
queryString: string
229229
): Promise<void> => {
230230
if (queryString.includes('ajs_')) {
231-
// not exactly sure why this async is in here or why we would need to await it, but it was legacy
232231
await analytics.queryString(queryString).catch(console.error)
233232
}
234233
}

0 commit comments

Comments
 (0)