import { Sync, Subscription, Credentials, SignOutWrapper, Authentication, } from '@/components/Preferences/panes/account'; import { PreferencesPane } from '@/components/Preferences/components'; import { observer } from 'mobx-react-lite'; import { WebApplication } from '@/ui_models/application'; import { AppState } from '@/ui_models/app_state'; type Props = { application: WebApplication; appState: AppState; }; export const AccountPreferences = observer( ({ application, appState }: Props) => ( {!application.hasAccount() ? ( ) : ( <> )} ) );