diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.tsx index bd8894b58c4..0c4118d547c 100644 --- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.tsx +++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.tsx @@ -2,7 +2,13 @@ import type { PGTable } from '@supabase/pg-meta' import { noop } from 'lodash' import { useCallback, type ChangeEvent, type DragEvent } from 'react' import { toast } from 'sonner' -import { SidePanel, Tabs } from 'ui' +import { + SidePanel, + Tabs_Shadcn_, + TabsContent_Shadcn_, + TabsList_Shadcn_, + TabsTrigger_Shadcn_, +} from 'ui' import { ActionBar } from '../ActionBar' import type { ImportContent } from '../TableEditor/TableEditor.types' @@ -112,8 +118,12 @@ export const SpreadsheetImport = ({ >
- - + + + Upload CSV + Paste text + + - - + + - - + +
{isParsedState(state) && state.data.headers.length > 0 && (