Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimdemedes committed Jul 19, 2021
1 parent a8f563c commit c74ae14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/hooks/use-focus.ts
Expand Up @@ -31,9 +31,8 @@ interface Output {
*/
const useFocus = ({isActive = true, autoFocus = false}: Input = {}): Output => {
const {isRawModeSupported, setRawMode} = useStdin();
const {activeId, add, remove, activate, deactivate} = useContext(
FocusContext
);
const {activeId, add, remove, activate, deactivate} =
useContext(FocusContext);

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

Expand Down

0 comments on commit c74ae14

Please sign in to comment.