@wise/art 0.0.0-experimental-e5fd55b → 0.0.0-experimental-324afbb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -46,8 +46,11 @@ const groupByCountry = (
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
} else {
|
|
49
|
+
// Use slug as fallback code for entries without iso2 or currencyCode (e.g. "wise")
|
|
50
|
+
const code = currencyCode ?? slug;
|
|
49
51
|
standaloneFlags.push({
|
|
50
52
|
name: deriveName(slug),
|
|
53
|
+
countryCode: code,
|
|
51
54
|
currencyCodes: currencyCode ? [currencyCode] : [],
|
|
52
55
|
});
|
|
53
56
|
}
|
|
@@ -197,7 +200,3 @@ export const SouthAmerica: Story = {
|
|
|
197
200
|
export const Misc: Story = {
|
|
198
201
|
render: () => AllFlagsAndSizes('Misc'),
|
|
199
202
|
};
|
|
200
|
-
|
|
201
|
-
export const Fallback: Story = {
|
|
202
|
-
render: () => AllFlagsAndSizes('Fallback'),
|
|
203
|
-
};
|