Skip to content

Commit 5b9b291

Browse files
committed
Add the join
Signed-off-by: macdonst <[email protected]>
1 parent 7e7d7b8 commit 5b9b291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/cookbook/translate-react.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const image = <img src={href} />
6060
const todoList = `<ul>
6161
${todos.map((todo) => (
6262
`<li key="${todo.id}">${todo.text}</li>`
63-
))}
63+
))}.join('')
6464
</ul>`
6565
```
6666

0 commit comments

Comments
 (0)