diff --git a/community/sample-apps/tic-tac-toe-react/client/src/components/Game/Play.js b/community/sample-apps/tic-tac-toe-react/client/src/components/Game/Play.js index 926c4392..d38863ca 100644 --- a/community/sample-apps/tic-tac-toe-react/client/src/components/Game/Play.js +++ b/community/sample-apps/tic-tac-toe-react/client/src/components/Game/Play.js @@ -89,7 +89,7 @@ const Play = ({boardId, client}) => { status=

{winner}

} else { if (board.turn === 'x') { - status =

{isSelfUser1 ? 'Your' : `${board.user1.name}'s`} turn

+ status =

{isSelfUser1 ? 'Your' : `${board.user2.name}'s`} turn

} else { status =

{!isSelfUser1 ? 'Your' : `${board.user1.name}'s`} turn

} @@ -111,7 +111,7 @@ const Play = ({boardId, client}) => {
{opponent}
-
+ ) } @@ -120,4 +120,4 @@ const Play = ({boardId, client}) => { ) }; -export default withApollo(Play); \ No newline at end of file +export default withApollo(Play);