1
0
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:
xmflsct
2023-02-25 21:57:11 +01:00
parent 8b721e1d2e
commit 216a736860

View File

@ -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 (