Skip to content

Commit

Permalink
fix: help tip never render in checkbox type (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonemeen committed Jul 19, 2022
1 parent 96a07fe commit 60d58ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/checkbox/src/index.ts
Expand Up @@ -38,7 +38,7 @@ export default createPrompt(
...state.choices,
]);
const [cursorPosition, setCursorPosition] = useState(0);
const [showHelpTip, setShowHelpTip] = useState(false);
const [showHelpTip, setShowHelpTip] = useState(true);

useKeypress((key) => {
let newCursorPosition = cursorPosition;
Expand Down

0 comments on commit 60d58ad

Please sign in to comment.