File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/browser/src/browser Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ async function flushFinalBuffer(
216216}
217217
218218const 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}
You can’t perform that action at this time.
0 commit comments