diff --git a/docs/documentation/tutorial.md b/docs/documentation/tutorial.md index 75841e6dc..6b55f727e 100644 --- a/docs/documentation/tutorial.md +++ b/docs/documentation/tutorial.md @@ -512,7 +512,7 @@ Let’s create a new file at `src/Board.js`: ```js import React from 'react'; -function TicTacToeBoard({ ctx, G, moves }) { +export function TicTacToeBoard({ ctx, G, moves }) { const onClick = (id) => moves.clickCell(id); let winner = '';