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