Remove unnecessary as string

This commit is contained in:
Alex Gleason 2023-06-13 20:59:38 -05:00
parent 405dcef4a5
commit db070150d9
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -24,7 +24,7 @@ export const getBaseURL = (account: AccountEntity): string => {
};
export const getAcct = (account: Pick<Account, 'fqn' | 'acct'>, displayFqn: boolean): string => (
displayFqn === true ? account.fqn as string : account.acct
displayFqn === true ? account.fqn : account.acct
);
export const isLocal = (account: AccountEntity | Account): boolean => {