SQLEditorLayout.tsx 429 B

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