diff options
author | crupest <crupest@outlook.com> | 2021-12-06 18:38:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-12-06 18:38:53 +0800 |
commit | de0c85ca334d06f042e685b8263a3261b8f8b055 (patch) | |
tree | 160fa54646c4973ca46d2092f8a459f8a8fd0b04 | |
parent | 4aa82fbbb310269981706aea68638502a3149bbc (diff) | |
download | timeline-de0c85ca334d06f042e685b8263a3261b8f8b055.tar.gz timeline-de0c85ca334d06f042e685b8263a3261b8f8b055.tar.bz2 timeline-de0c85ca334d06f042e685b8263a3261b8f8b055.zip |
...
-rw-r--r-- | FrontEnd/package.json | 8 | ||||
-rw-r--r-- | FrontEnd/src/i18n.ts | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/FrontEnd/package.json b/FrontEnd/package.json index 0e515302..6e4cd95d 100644 --- a/FrontEnd/package.json +++ b/FrontEnd/package.json @@ -6,7 +6,7 @@ "keywords": [],
"description": "Timeline app.",
"dependencies": {
- "@microsoft/signalr": "^5.0.10",
+ "@microsoft/signalr": "^6.0.0",
"@popperjs/core": "^2.10.2",
"axios": "^0.24.0",
"bootstrap": "^5.1.3",
@@ -59,10 +59,10 @@ "@types/react-router-dom": "^5.3.2",
"@types/react-transition-group": "^4.4.4",
"@types/remarkable": "^2.0.3",
- "@typescript-eslint/eslint-plugin": "^4.33.0",
- "@typescript-eslint/parser": "^4.33.0",
+ "@typescript-eslint/eslint-plugin": "^5.5.0",
+ "@typescript-eslint/parser": "^5.5.0",
"@vitejs/plugin-react-refresh": "^1.3.6",
- "eslint": "^7.32.0",
+ "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.0",
diff --git a/FrontEnd/src/i18n.ts b/FrontEnd/src/i18n.ts index 8caf51ec..5f71c7ea 100644 --- a/FrontEnd/src/i18n.ts +++ b/FrontEnd/src/i18n.ts @@ -51,7 +51,7 @@ export const i18nPromise = i18n fallbackLng: false, lowerCaseLng: true, - debug: process.env.NODE_ENV === "development", + debug: import.meta.env.DEV, interpolation: { escapeValue: false, // not needed for react!! |