Skip to content

Commit

Permalink
update whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
engineerjoe440 committed Sep 2, 2024
1 parent 0395bdd commit 732a902
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/PlayerView.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ function WordElement({word, onChange}) {

return (
<>
<Grid item sx={null} md={3}/>
<Grid item sx={12} md={6}>
<Grid item xs={null} md={3}/>
<Grid item xs={12} md={6}>
<TextField
variant="filled"
fullWidth
label="Enter a Word!"
value={word.word}
onChange={(e) => {onChange(e.target.value, word.id)}} />
</Grid>
<Grid item sx={null} md={3}/>
<Grid item xs={null} md={3}/>
</>
);
}
Expand Down Expand Up @@ -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: "",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 732a902

Please # to comment.