mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-19 07:31:24 +02:00
Format result count
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user