import { FunctionComponent } from 'react' import { observer } from 'mobx-react-lite' import { PreferencesSessionController } from './Controller/PreferencesSessionController' import Backups from '@/Components/Preferences/Panes/Backups/Backups' import Appearance from './Panes/Appearance' import General from './Panes/General/General' import AccountPreferences from './Panes/Account/AccountPreferences' import Security from './Panes/Security/Security' import Listed from './Panes/Listed/Listed' import HelpAndFeedback from './Panes/HelpFeedback' import { PreferencesProps } from './PreferencesProps' import WhatsNew from './Panes/WhatsNew/WhatsNew' import HomeServer from './Panes/HomeServer/HomeServer' import Vaults from './Panes/Vaults/Vaults' const PaneSelector: FunctionComponent = ({ menu, application, }) => { switch (menu.selectedPaneId) { case 'general': return case 'account': return case 'appearance': return case 'home-server': return case 'security': return case 'vaults': return case 'backups': return case 'listed': return case 'shortcuts': return null case 'accessibility': return null case 'get-free-month': return null case 'help-feedback': return case 'whats-new': return default: return } } export default observer(PaneSelector)