( selector: (state: SQLEditorEditorState) => T )
| 153 | * const setProject = useSQLEditorEditorState((s) => s.setProject); |
| 154 | */ |
| 155 | export function useSQLEditorEditorState<T>( |
| 156 | selector: (state: SQLEditorEditorState) => T |
| 157 | ): T { |
| 158 | return useSQLEditorEditorStore(selector); |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * Read SQL editor editor state outside React (in actions, effects, or |
no outgoing calls
no test coverage detected