From db070150d914be178e1c72e55fa3b7e1c3ae14c4 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 13 Jun 2023 20:59:38 -0500 Subject: [PATCH] Remove unnecessary `as string` --- app/soapbox/utils/accounts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/utils/accounts.ts b/app/soapbox/utils/accounts.ts index e0995416f1..ef7c446a5b 100644 --- a/app/soapbox/utils/accounts.ts +++ b/app/soapbox/utils/accounts.ts @@ -24,7 +24,7 @@ export const getBaseURL = (account: AccountEntity): string => { }; export const getAcct = (account: Pick, displayFqn: boolean): string => ( - displayFqn === true ? account.fqn as string : account.acct + displayFqn === true ? account.fqn : account.acct ); export const isLocal = (account: AccountEntity | Account): boolean => {