mirror of https://github.com/tooot-app/app
Fix account page account issue
This commit is contained in:
parent
8b721e1d2e
commit
216a736860
|
@ -18,7 +18,9 @@ const AccountInformationAccount: React.FC = () => {
|
|||
const [acct] = useAccountStorage.string('auth.account.acct')
|
||||
const [domain] = useAccountStorage.string('auth.account.domain')
|
||||
|
||||
const localInstance = account?.acct?.includes('@') ? account?.acct?.includes(`@${domain}`) : true
|
||||
const localInstance = account?.acct?.includes('@')
|
||||
? account?.acct?.includes(`@${domain}`)
|
||||
: !account?._remote
|
||||
|
||||
if (account || pageMe) {
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue