Skip to content

Commit b00e31e

Browse files
committed
Prettier formatting
1 parent b78cdec commit b00e31e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/SpatialNavigation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,8 @@ class SpatialNavigationService {
899899
* the Focusable Containers, that have "forceFocus" flag enabled.
900900
*/
901901
if (!fromParentFocusKey && !currentComponent) {
902-
this.setFocus(this.getForcedFocusKey());
903-
return;
902+
this.setFocus(this.getForcedFocusKey());
903+
return;
904904
}
905905

906906
this.log(
@@ -1058,7 +1058,7 @@ class SpatialNavigationService {
10581058
*/
10591059
const sortedForceFocusableComponents = this.sortSiblingsByPriority(
10601060
forceFocusableComponents,
1061-
{ x:0, y:0, width:0, height: 0, left: 0, top:0, node: null },
1061+
{ x: 0, y: 0, width: 0, height: 0, left: 0, top: 0, node: null },
10621062
'down',
10631063
ROOT_FOCUS_KEY
10641064
);

src/useFocusContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useContext, createContext } from 'react';
22
import { ROOT_FOCUS_KEY } from './SpatialNavigation';
33

44
export const FocusContext = createContext(ROOT_FOCUS_KEY);
5-
FocusContext.displayName = "FocusContext";
5+
FocusContext.displayName = 'FocusContext';
66

77
/** @internal */
88
export const useFocusContext = () => useContext(FocusContext);

0 commit comments

Comments
 (0)