Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CommandCodeAI/BaseAI
/ shouldPanelOpen
Function
shouldPanelOpen
apps/baseai.dev/src/components/Search.tsx:73–75 ·
view source on GitHub ↗
({ state })
Source
from the content-addressed store, hash-verified
71
setAutocompleteState(state);
72
},
73
shouldPanelOpen({ state }) {
74
return state.query !==
''
;
75
},
76
navigator: {
77
navigate
78
},
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected