Skip to content

Commit 36a4e51

Browse files
authored
Merge pull request #4199 from gobbledyglomp/part7c/patch-1
Part 7c: Use const instead of let
2 parents 32d6afb + c88464d commit 36a4e51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/7/en/part7c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Let's improve the form in the <i>Login</i> view with the help of Bootstrap [form
112112
React Bootstrap provides built-in [components](https://react-bootstrap.github.io/docs/forms/overview/) for creating forms (although the documentation for them is slightly lacking):
113113

114114
```js
115-
let Login = (props) => {
115+
const Login = (props) => {
116116
// ...
117117
return (
118118
<div>

src/content/7/fi/osa7c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Parannellaan seuraavaksi näkymän <i>Login</i> kirjautumislomaketta Bootstrapin
112112
React-Bootstrap tarjoaa valmiit [komponentit](https://react-bootstrap.github.io/docs/forms/overview/) myös lomakkeiden muodostamiseen (dokumentaatio tosin ei ole paras mahdollinen):
113113

114114
```js
115-
let Login = (props) => {
115+
const Login = (props) => {
116116
// ...
117117
return (
118118
<div>

0 commit comments

Comments
 (0)