mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
add old empty state back in
This commit is contained in:
1 parent
25851f535e
commit
4867f71b41
1 file changed
+3
-1
@@ -10,6 +10,7 @@ import { LOCAL_STORAGE_KEYS } from 'lib/constants'
|
||||
import { useRouter } from 'next/router'
|
||||
import { editorEntityTypes, getTabsStore } from 'state/tabs'
|
||||
import type { NextPageWithLayout } from 'types'
|
||||
import EmptyState from 'components/interfaces/TableGridEditor/EmptyState'
|
||||
|
||||
const TableEditorPage: NextPageWithLayout = () => {
|
||||
const { ref: projectRef } = useParams()
|
||||
@@ -39,7 +40,8 @@ const TableEditorPage: NextPageWithLayout = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<NewTab />
|
||||
{isTableEditorTabsEnabled ? <NewTab /> : <EmptyState />}
|
||||
|
||||
<SidePanelEditor onTableCreated={onTableCreated} />
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user