Skip to content

Commit

Permalink
Quick cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chadokruse committed Nov 26, 2024
1 parent c6c6f57 commit d644a9a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
function getHandDrawnClass(
median: number,
count: number,
): 'grantmakers-green' | 'grantmakers-blue' | 'yellow-500' | 'grantmakers-orange' | 'transparent' {
if (median === 0) return 'transparent';
if (median >= 1000000) return 'grantmakers-green';
Expand Down Expand Up @@ -72,7 +71,7 @@
{#if grantCount >= 2}
<!-- Median Grant Amount -->
<div class="flex flex-col items-center">
<HandDrawnBorder fill={`fill-${getHandDrawnClass(grantMedian, grantCount)}`} show={highlightMedian}>
<HandDrawnBorder fill={`fill-${getHandDrawnClass(grantMedian)}`} show={highlightMedian}>
<div class="relative z-10 flex flex-col items-center rounded-full p-6">
<dt class="text-sm leading-normal text-inherit">Median</dt>
<dd class="text-slate-700 {highlightMedian ? 'font-bold' : 'text-lg'}">
Expand Down

0 comments on commit d644a9a

Please sign in to comment.