Format result count

pull/5385/head
Kamran Ahmed 7 months ago
parent 7cffcccfe8
commit d880f84e0a
  1. 7
      src/components/ExploreAIRoadmap/ExploreAISearch.tsx

@ -57,8 +57,11 @@ export function ExploreAISearch(props: ExploreAISearchProps) {
)} )}
</div> </div>
{total > 0 && ( {total > 0 && (
<p className="flex-shrink-0 text-sm text-gray-500"> <p className="flex-shrink-0 text-sm text-gray-500 hidden sm:block">
{total} results found {Intl.NumberFormat('en-US', {
notation: 'compact',
}).format(total)}{' '}
results found
</p> </p>
)} )}
</div> </div>

Loading…
Cancel
Save