Skip to content

Commit 6ea66ab

Browse files
author
Víctor Borrego Pérez
committed
Updated Readme.md and package.json
1 parent c7e021f commit 6ea66ab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hooks/13_LoginForm/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ _./src/index.html_
114114
npm install @material-ui/core @material-ui/icons --save
115115
```
116116

117-
- However, we must be careful with the compatibility of certain versions of _typescript_ with the new _hooks_ of _material-ui_. The latest version of typescript at this time (v.3.5.1) shows a TSERROR when using _useStyles()_. If you have the same error, you can solve it temporarily using typescript@3.3.3 version.
117+
- However, we must be careful with the compatibility of certain versions of _typescript_ with the new _hooks_ of _material-ui_. For this example, we can install _typescript@3.3.3_ version. You can get more information about this issue in the following link https://github.com/mui-org/material-ui/issues/14018
118118

119119
- Now we could create a login form it could look something like:
120120

hooks/14_FormValidation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"html-webpack-plugin": "^3.2.0",
3030
"mini-css-extract-plugin": "^0.5.0",
3131
"style-loader": "^0.23.1",
32-
"typescript": "3.3.3",
32+
"typescript": "^3.3.3",
3333
"url-loader": "^1.1.2",
3434
"webpack": "^4.29.3",
3535
"webpack-cli": "^3.2.3",

hooks/15_Context/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"html-webpack-plugin": "^3.2.0",
3030
"mini-css-extract-plugin": "^0.5.0",
3131
"style-loader": "^0.23.1",
32-
"typescript": "3.3.3",
32+
"typescript": "^3.3.3",
3333
"url-loader": "^1.1.2",
3434
"webpack": "^4.29.3",
3535
"webpack-cli": "^3.2.3",

0 commit comments

Comments
 (0)