This commit is contained in:
Joshen Lim committed 2026-09-22 23:41:55 +08:00
1 parent 4ebf2bd485
commit 98ca05ab22
1 file changed
-4
@@ -14,7 +14,6 @@ import {
import { acceptUntrustedSql } from '@supabase/pg-meta'
import { useQueryClient } from '@tanstack/react-query'
import { LOCAL_STORAGE_KEYS, useParams } from 'common'
import dayjs from 'dayjs'
import {
Check,
Copy,
@@ -84,7 +83,6 @@ import {
import { useUpsertNotebookMutation } from '@/data/content/notebooks/notebook-upsert-mutation'
import { acceptUntrustedLogsSql } from '@/data/logs/safe-analytics-sql'
import { useLocalStorageQuery } from '@/hooks/misc/useLocalStorage'
import { useSelectedProjectQuery } from '@/hooks/misc/useSelectedProject'
import {
getNotebooksStateSnapshot,
useCurrentNotebook,
@@ -107,8 +105,6 @@ export const ExplorerNotebookTab = () => {
true
)
const { data: project } = useSelectedProjectQuery()
const currentNotebook = useCurrentNotebook()
const { name, content } = currentNotebook?.notebook ?? {}
const { isNotFound } = useLoadNotebook({ id, projectRef: ref })