Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chrome-extension/src/components/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ function Login(props) {
</Form>
</>
);

/* El código de está parte se ecnuentra muy bien comentado al igual que el de los otros componentes*/

//Método para hacer post con fetch
async function postData(url = "", data = {}) {
// Default options are marked with *
Expand All @@ -74,7 +75,6 @@ function Login(props) {
credentials: "include", // include, *same-origin, omit
headers: {
"Content-Type": "application/json",
// 'Content-Type': 'application/x-www-form-urlencoded',
},
redirect: "follow", // manual, *follow, error
referrerPolicy: "no-referrer", // no-referrer, *client
Expand Down