Following
This commit is contained in:
@@ -12,6 +12,7 @@ function GameScene({theme,id}) {
|
||||
useEffect(() => {
|
||||
post('https://saucisson.justw.tf/api/games/create/'+id,{},token)
|
||||
.then(res => {
|
||||
console.log(res.JSON);
|
||||
setData(res.JSON);
|
||||
})
|
||||
.catch(err => console.log(err));
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function QuestionBox({question}) {
|
||||
return(
|
||||
<div className="fixed top-4 left-44 right-4 h-42 bg-slate-300 rounded-md">
|
||||
<div className="fixed top-4 left-32 right-4 h-42 bg-slate-300 rounded-md">
|
||||
{question}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user