From a98f7150f2d3447ad8845d8bb614b786f158266e Mon Sep 17 00:00:00 2001 From: McLayn Date: Sat, 11 Jun 2022 21:26:22 +0200 Subject: [PATCH] Export TicTacToeBoard in Board.js --- docs/documentation/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '';