many many updates (check commit detail)

- updated dependencies
  - bumped react version 17 -> 18
- changed navbar button tag from `a` to `button`
- added locale info to url (made sure same url = same content)
- fixed 0 gettingconsidered as "unknown length" for
  word count in `PostCard`
- moved functions from `Page.tsx` to `helper.ts`
- added "translation not available" page
This commit is contained in:
Kim, Jimin 2022-04-17 21:49:54 +09:00
parent 56bf555bd7
commit d1a33ccf1e
17 changed files with 2569 additions and 2383 deletions

View file

@ -11,7 +11,7 @@
"tryExtensions": [".js", ".jsx", ".json"]
},
"react": {
"version": "17.0"
"version": "18.0"
}
},
"parser": "@typescript-eslint/parser",
@ -21,7 +21,7 @@
},
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",