Skip to content

Commit

Permalink
Merge pull request #424 from Arquisoft/Jesus-e2e-Tests
Browse files Browse the repository at this point in the history
Añado mas dependencias que causaban error en el release
  • Loading branch information
uo277310 authored Apr 29, 2024
2 parents 4c4d66f + f74f82d commit 61f3651
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/GeneratedQuestionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const GeneratedQuestionsList = ({setError}) => {
};

fetchQuestions();
}, [apiEndpoint]);
}, [apiEndpoint, setError]);

const handleSort = (column) => {
if (sortColumn === column) {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/RankingList.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const RankingList = ({setError}) => {
};

fetchUsers();
}, [apiEndpoint]);
}, [apiEndpoint, setError]);

const sortedUsers = [...listUsers].sort((a, b) => {
if (sortColumn === 'username') {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/RecordList.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const RecordList = ({ username, setError }) => {
};

fetchRecords();
}, [apiEndpoint, username]);
}, [apiEndpoint, username, setError]);

return (
<div>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/UsersList.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const UsersList = ({ setError }) => {
}
};
fetchUsers();
}, [apiEndpoint]);
}, [apiEndpoint, setError]);

const sortedUsers = [...listUsers].sort((a, b) => {
if (sortColumn === 'username') {
Expand Down

0 comments on commit 61f3651

Please sign in to comment.