mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix account page account issue
This commit is contained in:
@ -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 (
|
||||
|
Reference in New Issue
Block a user