Skip to content

Commit

Permalink
Dependencia de themes
Browse files Browse the repository at this point in the history
  • Loading branch information
uo277310 committed May 1, 2024
1 parent 7c045b2 commit 9fe50ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gatewayservice/gateway-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const fs = require("fs")
const YAML = require('yaml')

const app = express();
app.disable("x-powered-by");
const port = 8000;

const authServiceUrl = process.env.AUTH_SERVICE_URL || 'http://localhost:8002';
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const Game = ({ username, totalQuestions, timeLimit, themes }) => {
})();
setAlmacenado(true);
}
}, [timer, numberClics, totalQuestions, timeLimit, almacenado, apiEndpoint, correctQuestions, username, setError]);
}, [timer, numberClics, totalQuestions, timeLimit, almacenado, apiEndpoint, correctQuestions, username, setError, themes, setThemesSelected]);

if(isNaN(totalQuestions)){
totalQuestions=10;
Expand Down

0 comments on commit 9fe50ff

Please sign in to comment.