소스 검색

refactor: change last remaining window history mention to explicitly use window.history to avoid confusion

Kristian Vos 1 년 전
부모
커밋
b722796eeb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frontend/src/composables/useTabQueryHandler.ts

+ 1 - 1
frontend/src/composables/useTabQueryHandler.ts

@@ -16,7 +16,7 @@ export const useTabQueryHandler = defaultTab => {
 		tab.value = route.query.tab;
 
 		// eslint-disable-next-line no-restricted-globals
-		history.pushState(
+		window.history.pushState(
 			{},
 			null,
 			`${route.path}?${Object.keys(queries)