Commit b78c3d6
committed
fix(hub): add missing dalas icon (#2838)
Closes FRONT-710
## Changes
- Added Dallas, Texas, USA (`tr-d`) as a new region with the US flag emoji 🇺🇸
- Improved TypeScript type safety for region-related functions and objects:
- Added `satisfies Record<string, IconProp | string>` to `REGION_ICON`
- Added `satisfies Record<keyof typeof REGION_ICON, string>` to `REGION_LABEL`
- Updated `getRegionKey` return type to `keyof typeof REGION_ICON`
- Fixed type casting in `RegionIcon` component1 parent d8d3e8e commit b78c3d6
File tree
1 file changed
+12
-7
lines changed- frontend/packages/components/src/matchmaker
1 file changed
+12
-7
lines changedLines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
102 | 106 | | |
103 | 107 | | |
104 | | - | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
111 | | - | |
| 115 | + | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
| |||
0 commit comments