mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 07:39:07 +03:00
chore: clean up unused import in TableEditor
Remove unused useTablesQuery import after switching to localStorage-based dismissal.
This commit is contained in:
1 parent
ec0e1e7d63
commit
e5cef29abc
1 file changed
-6
-6
@@ -24,7 +24,6 @@ import { useUrlState } from 'hooks/ui/useUrlState'
|
||||
import { useProtectedSchemas } from 'hooks/useProtectedSchemas'
|
||||
import { DOCS_URL } from 'lib/constants'
|
||||
import { usePHFlag } from 'hooks/ui/useFlag'
|
||||
import { useTablesQuery } from 'data/tables/tables-query'
|
||||
import { useTableEditorStateSnapshot } from 'state/table-editor'
|
||||
import { Badge, Checkbox, Input, SidePanel } from 'ui'
|
||||
import { Admonition } from 'ui-patterns'
|
||||
@@ -103,11 +102,6 @@ export const TableEditor = ({
|
||||
*/
|
||||
const tableQuickstartVariant = usePHFlag<QuickstartVariant | false | undefined>('tableQuickstart')
|
||||
|
||||
const { data: tables } = useTablesQuery({
|
||||
projectRef: project?.ref,
|
||||
connectionString: project?.connectionString,
|
||||
})
|
||||
|
||||
const [quickstartDismissed, setQuickstartDismissed] = useLocalStorage(
|
||||
LOCAL_STORAGE_KEYS.TABLE_QUICKSTART_DISMISSED,
|
||||
false
|
||||
|
||||
Reference in new issue
Block a user