deselect line bug (#1457)

This commit is contained in:
Kurt Hutten
2024-02-20 11:04:42 +11:00
committed by GitHub
parent 1162f5f4c4
commit 7cb4f4d101
5 changed files with 80 additions and 13 deletions

View File

@ -27,6 +27,7 @@ export const CommandBarProvider = ({
}) => {
const { pathname } = useLocation()
const [commandBarState, commandBarSend] = useMachine(commandBarMachine, {
devTools: true,
guards: {
'Arguments are ready': (context, _) => {
return context.selectedCommand?.args