Migrate React example app to react-scripts 5

Reviewed By: antonk52

Differential Revision: D35114197

fbshipit-source-id: 88b35b4d927d7eca099a62d9cf4319ffe3ecf423
This commit is contained in:
Andrey Goncharov
2022-03-24 09:32:00 -07:00
committed by Facebook GitHub Bot
parent 245d263c1e
commit df018ebdcb
13 changed files with 4754 additions and 6586 deletions

View File

@@ -92,7 +92,8 @@ const FlipperTicTacToe: FC = () => {
key={idx}
disabled={!connection || gameState.turn !== 'X' || state !== ' '}
onClick={() => connection?.send('XMove', {move: idx})}
className="cell">
className="cell"
>
{state}
</button>
))}