Skip to content

Commit

Permalink
fix: ts types issue fixed with empty string fallback (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephigenia authored Nov 17, 2023
1 parent 95ff974 commit ec54193
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
1 change: 1 addition & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: npx browserslist@latest --update-db
- run: npm test
- uses: actions/upload-artifact@v3
with:
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/pkg-size.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib/stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type countryCode = string;
// and buCode in ascending order
export const stores = (data as Store[])
.map((store) => {
store.country = getName(store.countryCode, "en");
store.country = getName(store.countryCode, "en") || '';
return store;
})
.sort((a, b): number => {
Expand Down

0 comments on commit ec54193

Please sign in to comment.