Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Merge branch 'feat/cmdk-dashboard' of github.com:supabase/supabase into feat/cmdk-dashboard

Terry Sutton80daab5878c6
diff --cc studio/pages/project/[ref]/editor/[id].tsx
index 721f01a1f04,b07d2a557da..4fa02f8b868
--- a/studio/pages/project/[ref]/editor/[id].tsx
+++ b/studio/pages/project/[ref]/editor/[id].tsx
@@@ -18,11 -17,9 +18,12 @@@ import { TableGridEditor } from 'compon
import ConfirmationModal from 'components/ui/ConfirmationModal'
import { NextPageWithLayout, SchemaView } from 'types'
import { JsonEditValue } from 'components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.types'
-import { ProjectContextFromParamsProvider } from 'components/layouts/ProjectLayout/ProjectContext'
+import {
+ ProjectContextFromParamsProvider,
+ useProjectContext,
+} from 'components/layouts/ProjectLayout/ProjectContext'
import { ForeignRowSelectorProps } from 'components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/ForeignRowSelector'
+ import { useTheme } from 'common'
const TableEditorPage: NextPageWithLayout = () => {
const router = useRouter()
@@@ -292,8 -261,7 +294,8 @@@
onExpandJSONEditor={onExpandJSONEditor}
onEditForeignKeyColumnValue={onEditForeignKeyColumnValue}
onClosePanel={onClosePanel}
- theme={ui.themeOption == 'dark' ? 'dark' : 'light'}
+ onImportData={onImportData}
+ theme={isDarkMode ? 'dark' : 'light'}
/>
<ConfirmationModal
danger