Accounts
-
{accounts.map((account, i) => {
const isCurrent = account.info.id === currentAccount;
const isDefault = i === (currentDefault || 0);
return (
-
{moreThanOneAccount && (
)} { states.showAccount = `${account.info.username}@${account.instanceURL}`; }} /> {isDefault && moreThanOneAccount && ( <> Default{' '} > )} {!isCurrent && ( )}{!isDefault && moreThanOneAccount && ( )} {isCurrent && ( <> {' '} > )}
);
})}
Note: Default account will always be used for first load. Switched accounts will persist during the session.
)}Add new account
Settings
Hidden features
About
Built {' '} by{' '} { e.preventDefault(); states.showAccount = 'cheeaun@mastodon.social'; }} > @cheeaun .
{__BUILD_TIME__ && (
Last build: {__COMMIT_HASH__}
)
>
)}