Skip to content

Commit ac8667d

Browse files
committed
also need this, so it dosent eror
1 parent 5a0093f commit ac8667d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/components/right/LoginButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable max-len */
22
import React from 'react';
33
import { useSelector, useDispatch } from 'react-redux';
4-
import Cookies from 'js-cookie';
4+
// import Cookies from 'js-cookie';
55
import { toggleLoggedIn } from '../../redux/reducers/slice/appStateSlice';
66
import serverConfig from '../../serverConfig.js';
77
// const config = require('../../../../config.js');
@@ -34,10 +34,10 @@ export default function LoginButton(): JSX.Element {
3434
const projects = fetch(`${serverURL}/logout`, {
3535
method: 'GET',
3636
headers: {
37-
'content-type': 'application/json',
37+
'content-type': 'application/json'
3838
},
3939
// need credentials for userid pull from cookie
40-
credentials: 'include',
40+
credentials: 'include'
4141
})
4242
.then((res) => res.json())
4343
.then((data) => data)

0 commit comments

Comments
 (0)