From 30dd26e816f0db8a9fead7501a461d331f217c76 Mon Sep 17 00:00:00 2001 From: Ollie Halliday <22655069+Hallidayo@users.noreply.github.com> Date: Fri, 20 Jan 2023 12:07:57 +0000 Subject: [PATCH] changed to ui package and added selected param --- studio/components/grid/components/editor/SelectEditor.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/studio/components/grid/components/editor/SelectEditor.tsx b/studio/components/grid/components/editor/SelectEditor.tsx index 206417e5901..6a0410470d2 100644 --- a/studio/components/grid/components/editor/SelectEditor.tsx +++ b/studio/components/grid/components/editor/SelectEditor.tsx @@ -1,10 +1,10 @@ -import { Select } from '@supabase/ui' +import { Select } from 'ui' import { EditorProps } from '@supabase/react-data-grid' import { useTrackedState } from 'components/grid/store' interface SelectEditorProps extends EditorProps { - options: { label: string; value: string }[] + options: { label: string; _value: string }[] } export function SelectEditor({ @@ -45,8 +45,8 @@ export function SelectEditor({ onBlur={onBlur} > NULL - {options.map(({ label, value }) => ( - + {options.map(({ label, _value }) => ( + {label} ))}