Skip to content

Commit

Permalink
changed util import to images
Browse files Browse the repository at this point in the history
  • Loading branch information
IgboPharaoh authored and Extheoisah committed Sep 17, 2023
1 parent 52ca393 commit 99d75e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ export const transcriptsCategories = [
];

export const displaySatCoinImage = (wordCount: number) => {
if (wordCount < 2500) return "/sats-coins/low.png";
if (wordCount < 5000) return "/sats-coins/medium.png";
if (wordCount < 7500) return "/sats-coins/high.png";
if (wordCount > 7500) return "/sats-coins/very-high.png";
if (wordCount < 2500) return "/sats-coins/low.svg";
if (wordCount < 5000) return "/sats-coins/medium.svg";
if (wordCount < 7500) return "/sats-coins/high.svg";
if (wordCount > 7500) return "/sats-coins/very-high.svg";
else return "";
};

0 comments on commit 99d75e4

Please sign in to comment.