Remove unnecessary as string
This commit is contained in:
parent
405dcef4a5
commit
db070150d9
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ export const getBaseURL = (account: AccountEntity): string => {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getAcct = (account: Pick<Account, 'fqn' | 'acct'>, displayFqn: boolean): 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 => {
|
export const isLocal = (account: AccountEntity | Account): boolean => {
|
||||||
|
|
Loading…
Reference in a new issue