Skip to content

Commit 08ff067

Browse files
committed
lint fix
1 parent 32729f2 commit 08ff067

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/react/focus-guards/src/focus-guards.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ function FocusGuards(props: FocusGuardsProps) {
1717
* to ensure `focusin` & `focusout` events can be caught consistently.
1818
*/
1919
function useFocusGuards() {
20-
/* eslint-disable no-restricted-globals */
2120
React.useEffect(() => {
2221
const edgeGuards = document.querySelectorAll('[data-radix-focus-guard]');
2322
document.body.insertAdjacentElement('afterbegin', edgeGuards[0] ?? createFocusGuard());
@@ -31,11 +30,9 @@ function useFocusGuards() {
3130
count--;
3231
};
3332
}, []);
34-
/* eslint-enable no-restricted-globals */
3533
}
3634

3735
function createFocusGuard() {
38-
// eslint-disable-next-line no-restricted-globals
3936
const element = document.createElement('span');
4037
element.setAttribute('data-radix-focus-guard', '');
4138
element.tabIndex = 0;

0 commit comments

Comments
 (0)