Skip to content

Commit c74ae14

Browse files
committed
Minor fixes
1 parent a8f563c commit c74ae14

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/hooks/use-focus.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ interface Output {
3131
*/
3232
const useFocus = ({isActive = true, autoFocus = false}: Input = {}): Output => {
3333
const {isRawModeSupported, setRawMode} = useStdin();
34-
const {activeId, add, remove, activate, deactivate} = useContext(
35-
FocusContext
36-
);
34+
const {activeId, add, remove, activate, deactivate} =
35+
useContext(FocusContext);
3736

3837
const id = useMemo(() => Math.random().toString().slice(2, 7), []);
3938

0 commit comments

Comments
 (0)