SQLEditorLayout.tsx19 lines · main
| 1 | import { ReactNode } from 'react' |
| 2 | |
| 3 | import { OngoingQueriesPanel } from '@/components/interfaces/SQLEditor/OngoingQueriesPanel' |
| 4 | import { withAuth } from '@/hooks/misc/withAuth' |
| 5 | |
| 6 | export interface SQLEditorLayoutProps { |
| 7 | children: ReactNode |
| 8 | } |
| 9 | |
| 10 | const SQLEditorLayout = ({ children }: SQLEditorLayoutProps) => { |
| 11 | return ( |
| 12 | <> |
| 13 | {children} |
| 14 | <OngoingQueriesPanel /> |
| 15 | </> |
| 16 | ) |
| 17 | } |
| 18 | |
| 19 | export default withAuth(SQLEditorLayout) |