Skip to content

Commit

Permalink
chore(focus-trap): address spelling mistake in code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DipperTheDan committed Dec 5, 2024
1 parent 6675b86 commit bd252b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__internal__/focus-trap/focus-trap.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ const FocusTrap = ({
onFocus: updateCurrentFocusedElement,
});

// passes focusProps, sets tabIndex and onBlur if no tabIndex has been expicitly set on child
// passes focusProps, sets tabIndex and onBlur if no tabIndex has been explicitly set on child
const clonedChildren = React.Children.map(children, (child) => {
const focusableChild = child as React.ReactElement;
return React.cloneElement(
Expand Down

0 comments on commit bd252b7

Please sign in to comment.