Skip to content

Commit

Permalink
annotate new CSS class logic in TickerItem.tsx file
Browse files Browse the repository at this point in the history
  • Loading branch information
emilydrakesmith committed Dec 27, 2024
1 parent c963190 commit 9c6693a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Futa/SearchableTicker/TickerItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ export default function TickerItem(props: PropsIF) {
// }
// `}
className={[
// spacing and visual arrangement styles
styles.ticker_item,
// add background highlighting when ticker is active
// ... on Auctions page only
auction?.ticker === selectedTicker && !isAccount
? styles.active
: '',
Expand Down

0 comments on commit 9c6693a

Please sign in to comment.