| 17 | const DEFAULT_SQL = ""; |
| 18 | |
| 19 | interface UseQueryEditorParams { |
| 20 | tabs: TabItem[]; |
| 21 | setTabs: React.Dispatch<React.SetStateAction<TabItem[]>>; |
| 22 | setActiveTab: React.Dispatch<React.SetStateAction<string>>; |
| 23 | setQueriesLastUpdated: React.Dispatch<React.SetStateAction<number>>; |
| 24 | t: (key: string, options?: any) => string; |
| 25 | } |
| 26 | |
| 27 | export function useQueryEditor({ |
| 28 | tabs, |
nothing calls this directly
no outgoing calls
no test coverage detected