Skip to content

Commit 7374614

Browse files
authored
Fix #639: unused variable in website example (#640)
Fixes #639
1 parent fa6275b commit 7374614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/pages/en/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ const codeExampleSmallScreen = `${pre}reason
3636
[@react.component]
3737
let make = (~name) =>
3838
<button>
39-
{React.string("Hello!")}
39+
{React.string("Hello " ++ name)}
4040
</button>;
4141
${pre}`;
4242

4343
const codeExampleLargeScreen = `${pre}reason
4444
[@react.component]
4545
let make = (~name) =>
4646
<button>
47-
{React.string("Hello!")}
47+
{React.string("Hello " ++ name)}
4848
</button>;
4949
${pre}`;
5050

0 commit comments

Comments
 (0)