From e335347dc95d74e6166363771963255378c4c059 Mon Sep 17 00:00:00 2001 From: Linh Chau <94718676+linh-transcend@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:02:48 +0000 Subject: [PATCH] upgrade airgap.js types --- src/hooks/useViewState.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hooks/useViewState.ts b/src/hooks/useViewState.ts index 5b5eb2b2..d7e937f7 100644 --- a/src/hooks/useViewState.ts +++ b/src/hooks/useViewState.ts @@ -135,7 +135,6 @@ export function useViewState({ * focus it so that when we delete it the user will be at the start of the focus order * just like if they had freshly loaded the page. */ if (savedActiveElement !== null) { - savedActiveElement.focus(); } else { const tempInteractiveEl = document.createElement('span'); tempInteractiveEl.setAttribute('tabindex', '1');