Use all X accounts defined
This commit is contained in:
@@ -51,7 +51,7 @@ const ALL_TECH_ACCOUNTS: TechAccount[] = [
|
|||||||
{ username: 'jason_f', displayName: 'Jason Fried', category: 'general_tech', priority: 'medium' },
|
{ username: 'jason_f', displayName: 'Jason Fried', category: 'general_tech', priority: 'medium' },
|
||||||
];
|
];
|
||||||
|
|
||||||
export const TECH_ACCOUNTS: TechAccount[] = ALL_TECH_ACCOUNTS.slice(0, 8);
|
export const TECH_ACCOUNTS: TechAccount[] = ALL_TECH_ACCOUNTS;
|
||||||
|
|
||||||
export function getAccountsByCategory(category: TechAccount['category']): TechAccount[] {
|
export function getAccountsByCategory(category: TechAccount['category']): TechAccount[] {
|
||||||
return TECH_ACCOUNTS.filter((account) => account.category === category);
|
return TECH_ACCOUNTS.filter((account) => account.category === category);
|
||||||
|
|||||||
Reference in New Issue
Block a user