import { Button } from '@/Components/Button/Button'
import { OtherSessionsSignOutContainer } from '@/Components/OtherSessionsSignOut'
import {
PreferencesGroup,
PreferencesSegment,
Subtitle,
Text,
Title,
} from '@/Components/Preferences/PreferencesComponents'
import { WebApplication } from '@/UIModels/Application'
import { AppState } from '@/UIModels/AppState'
import { observer } from 'mobx-react-lite'
import { FunctionComponent } from 'preact'
const SignOutView: FunctionComponent<{
application: WebApplication
appState: AppState
}> = observer(({ application, appState }) => {
return (
<>
Sign outOther devicesWant to sign out on all devices except this one?
This workspaceRemove all data related to the current workspace from the application. {
appState.accountMenu.setSigningOut(true)
}}
/>
>
)
})
const ClearSessionDataView: FunctionComponent<{
appState: AppState
}> = observer(({ appState }) => {
return (
Clear workspaceRemove all data related to the current workspace from the application. {
appState.accountMenu.setSigningOut(true)
}}
/>
)
})
export const SignOutWrapper: FunctionComponent<{
application: WebApplication
appState: AppState
}> = observer(({ application, appState }) => {
if (!application.hasAccount()) {
return
}
return
})