File tree Expand file tree Collapse file tree 3 files changed +1
-113
lines changed
Expand file tree Collapse file tree 3 files changed +1
-113
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { SettingsPage } from '@/pages/SettingsPage';
1313import { TransparentProxyPage } from '@/pages/TransparentProxyPage' ;
1414import { ToolManagementPage } from '@/pages/ToolManagementPage' ;
1515import { HelpPage } from '@/pages/HelpPage' ;
16- import { AboutPage } from '@/pages/AboutPage' ;
1716import { useToast } from '@/hooks/use-toast' ;
1817import { useAppEvents } from '@/hooks/useAppEvents' ;
1918import { useCloseAction } from '@/hooks/useCloseAction' ;
@@ -46,8 +45,7 @@ type TabType =
4645 | 'transparent-proxy'
4746 | 'provider-management'
4847 | 'settings'
49- | 'help'
50- | 'about' ;
48+ | 'help' ;
5149
5250function App ( ) {
5351 const { toast } = useToast ( ) ;
@@ -397,15 +395,6 @@ function App() {
397395 ) }
398396 { activeTab === 'provider-management' && < ProviderManagementPage /> }
399397 { activeTab === 'help' && < HelpPage onShowOnboarding = { handleShowOnboarding } /> }
400- { activeTab === 'about' && (
401- < AboutPage
402- updateInfo = { updateInfo }
403- onUpdateCheck = { ( ) => {
404- setUpdateInfo ( null ) ;
405- setIsUpdateDialogOpen ( true ) ;
406- } }
407- />
408- ) }
409398 </ main >
410399
411400 { /* 更新对话框 */ }
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
1616 Sun ,
1717 Moon ,
1818 Monitor ,
19- Info ,
2019 //预留
2120 // User,
2221} from 'lucide-react' ;
@@ -54,7 +53,6 @@ const secondaryItems = [
5453 { id : 'provider-management' , label : '供应商' , icon : Building2 } ,
5554 { id : 'help' , label : '帮助' , icon : HelpCircle } ,
5655 { id : 'settings' , label : '设置' , icon : SettingsIcon } ,
57- { id : 'about' , label : '关于' , icon : Info } ,
5856] ;
5957
6058export function AppSidebar ( {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments