Skip to content

Commit

Permalink
fix: wording
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoulaud committed Oct 7, 2024
1 parent f4f8894 commit cbbf542
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/(authenticated)/strategies/StrategyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const getConditionName = (type: string): string => {
case 'marketCap':
return 'Market Cap';
case 'blacklist':
return 'Blacklist';
return 'Prevention: ';
case 'price':
return 'Price';
case 'age':
Expand Down Expand Up @@ -101,7 +101,9 @@ const ConditionBadge: React.FC<{ condition: BuyCondition | SellCondition }> = ({
return `${condition.days} day${condition.days !== 1 ? 's' : ''}`;
}
if (isBlacklistCondition(condition)) {
return `${condition.checkDollarSign ? '$' : ''}${condition.checkBlacklist ? 'BL' : ''}`;
return `${condition.checkDollarSign ? '$' : ''}${
condition.checkBlacklist ? ' and scam names' : ''
}`;
}
if ('value' in condition) {
const addDollarSign =
Expand Down

0 comments on commit cbbf542

Please sign in to comment.