From 732a90285786ffa13f568775e5ebc1cdcfe59aba Mon Sep 17 00:00:00 2001 From: Joe Stanley Date: Mon, 2 Sep 2024 10:42:36 -0700 Subject: [PATCH] update whitespace --- frontend/src/PlayerView.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/PlayerView.js b/frontend/src/PlayerView.js index e536c13..1198b3e 100644 --- a/frontend/src/PlayerView.js +++ b/frontend/src/PlayerView.js @@ -11,8 +11,8 @@ function WordElement({word, onChange}) { return ( <> - - + + {onChange(e.target.value, word.id)}} /> - + ); } @@ -91,7 +91,7 @@ export default function PlayerView() { 'Accept': 'application/json', 'Content-Type': 'application/json' }, - + //make sure to serialize your JSON body body: JSON.stringify({ word: "", @@ -130,7 +130,7 @@ export default function PlayerView() { 'Accept': 'application/json', 'Content-Type': 'application/json' }, - + //make sure to serialize your JSON body body: JSON.stringify({ id: id,