import { observer } from 'mobx-react-lite'; import { AppState } from '@/ui_models/app_state'; import { WebApplication } from '@/ui_models/application'; import { User as UserType } from '@standardnotes/responses'; type Props = { appState: AppState; application: WebApplication; }; const User = observer(({ appState, application }: Props) => { const { server } = appState.accountMenu; const user = application.getUser() as UserType; return (