Leon4gr45 commited on
Commit
58ecf65
·
verified ·
1 Parent(s): 1f5fbc6

Delete assets/js/dashboard/stats/locations/flag-emoji.tsx with huggingface_hub

Browse files
assets/js/dashboard/stats/locations/flag-emoji.tsx DELETED
@@ -1,13 +0,0 @@
1
- import React from 'react'
2
- import { COUNTRIES_BY_TWO_LETTER_CODE } from './countries'
3
-
4
- export const FlagEmoji = ({ countryCode }: { countryCode: string | null }) => {
5
- if (!countryCode) {
6
- return null
7
- }
8
- const entry = COUNTRIES_BY_TWO_LETTER_CODE[countryCode]
9
- if (!entry?.flag) {
10
- return null
11
- }
12
- return <span className="mr-1.5">{entry.flag}</span>
13
- }