Remove persistent project inspector

This commit is contained in:
2026-07-20 12:45:13 +08:00
parent a299da63e7
commit 215268e836
3 changed files with 10 additions and 47 deletions

View File

@@ -13,7 +13,7 @@ function App() {
const [activeView, setActiveView] = useState<WorkbenchView>('workspace')
const [activeProject, setActiveProject] = useState(projects[0])
const [activeChannel, setActiveChannel] = useState<ChannelKey>('overview')
const [selectedItem, setSelectedItem] = useState('Inbox 待处理36')
const [, setSelectedItem] = useState('Inbox 待处理36')
const dark = theme === 'dark'
@@ -27,7 +27,6 @@ function App() {
activeView={activeView}
activeProject={activeProject}
activeChannel={activeChannel}
selectedItem={selectedItem}
theme={theme}
onSelectWorkspace={() => setActiveView('workspace')}
onSelectProject={(project) => {