Skip to content

Commit ba444c1

Browse files
committed
Use const instead if let
1 parent bb95ef4 commit ba444c1

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)