Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mdperez86 committed Jan 17, 2023
1 parent 5e4bd65 commit 2b9739d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
* External dependencies
*/

import { LinkedTree } from '../types';

/**
* Internal dependencies
*/
import { LinkedTree } from '../types';

function getFirstChild(
currentHeading: HTMLDivElement
Expand Down Expand Up @@ -62,7 +61,7 @@ function getNextFocusableElement(
currentHeadingIndex++;
}
if (
0 > currentHeadingIndex ||
currentHeadingIndex < 0 ||
currentHeadingIndex >= headingsNodeList.length
) {
return null;
Expand Down

0 comments on commit 2b9739d

Please sign in to comment.