- {index < openTabs.length && (
-
- )}
+ {/* {index < openTabs.length - 1 &&
} */}
)
}
-export function ExplorerTabs({ storeKey, onClose }: TabsProps) {
+export function ExplorerTabs({ onClose }: TabsProps) {
const editor = useEditorType()
- const projectExplorer = useFlag('projectExplorer')
const router = useRouter()
const store = getTabsStore()
const tabs = useSnapshot(store)
@@ -164,8 +141,6 @@ export function ExplorerTabs({ storeKey, onClose }: TabsProps) {
return tab.type === editor
})
- const newTab = openTabs.find((tab) => tab.type === 'new')
-
const handleDragEnd = (event: DragEndEvent) => {
const { active, over } = event
if (!over || active.id === over.id) return
@@ -207,11 +182,10 @@ export function ExplorerTabs({ storeKey, onClose }: TabsProps) {
{regularTabs.map((tab, index) => (