Allow global commands to be invoked from the command palette via URL (#6973)
This commit is contained in:
@ -32,6 +32,7 @@ export const CommandBar = () => {
|
||||
: Dialog
|
||||
|
||||
// Close the command bar when navigating
|
||||
// but importantly not when the query parameters change
|
||||
useEffect(() => {
|
||||
if (commandBarState.matches('Closed')) return
|
||||
commandBarActor.send({ type: 'Close' })
|
||||
|
Reference in New Issue
Block a user