mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
Update tabs.ts
This commit is contained in:
1 parent
3b28902a22
commit
da8f52ae75
1 file changed
+3
-3
@@ -212,9 +212,9 @@ export const handleTabClose = (
|
||||
const currentTabs = Object.values(tabsStore.tabsMap).filter((tab) => tab.id !== id)
|
||||
const nextTabId = currentTabs.filter((tab) => tab.type === editor)[0]?.id
|
||||
|
||||
console.log('Current Tab:', currentTab)
|
||||
console.log('Current Tabs:', currentTabs)
|
||||
console.log('Next Tab ID:', nextTabId)
|
||||
// console.log('Current Tab:', currentTab)
|
||||
// console.log('Current Tabs:', currentTabs)
|
||||
// console.log('Next Tab ID:', nextTabId)
|
||||
|
||||
delete tabsStore.tabsMap[id]
|
||||
if (currentTab) {
|
||||
|
||||
Reference in new issue
Block a user