File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable max-len */
2
2
import React from 'react' ;
3
3
import { useSelector , useDispatch } from 'react-redux' ;
4
- import Cookies from 'js-cookie' ;
4
+ // import Cookies from 'js-cookie';
5
5
import { toggleLoggedIn } from '../../redux/reducers/slice/appStateSlice' ;
6
6
import serverConfig from '../../serverConfig.js' ;
7
7
// const config = require('../../../../config.js');
@@ -34,10 +34,10 @@ export default function LoginButton(): JSX.Element {
34
34
const projects = fetch ( `${ serverURL } /logout` , {
35
35
method : 'GET' ,
36
36
headers : {
37
- 'content-type' : 'application/json' ,
37
+ 'content-type' : 'application/json'
38
38
} ,
39
39
// need credentials for userid pull from cookie
40
- credentials : 'include' ,
40
+ credentials : 'include'
41
41
} )
42
42
. then ( ( res ) => res . json ( ) )
43
43
. then ( ( data ) => data )
You can’t perform that action at this time.
0 commit comments