Skip to content

Commit ea2e05a

Browse files
committed
Correctly import locales
1 parent dbe71d4 commit ea2e05a

3 files changed

Lines changed: 435 additions & 736 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-app-ts",
3-
"version": "1.10.0",
3+
"version": "1.10.1",
44
"description": "Scalable starter boilerplate for React applications",
55
"main": "./src/index.tsx",
66
"bin": {
@@ -93,8 +93,8 @@
9393
"@types/react-redux": "7.1.24",
9494
"@types/react-router": "5.1.19",
9595
"@types/react-router-dom": "5.3.3",
96-
"@typescript-eslint/eslint-plugin": "5.45.1",
97-
"@typescript-eslint/parser": "5.45.1",
96+
"@typescript-eslint/eslint-plugin": "5.46.0",
97+
"@typescript-eslint/parser": "5.46.0",
9898
"@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
9999
"autoprefixer": "10.4.13",
100100
"copy-webpack-plugin": "11.0.0",

src/i18n/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as de from '../assets/locale/de.json';
77

88
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
99
// @ts-ignore
10-
import * as locales from './locales.mjs';
10+
import { default as locales } from './locales.mjs';
1111

1212
const resources = {
1313
en: {

0 commit comments

Comments
 (0)