Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-13 01:33:53 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9bec9fecd6ac47e25e0b8e4f38450a7947d395b3
9bec9fec
1 parent
802a6bb8
update clientState.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
front/src/Apollo/ClientState.js
front/src/Apollo/ClientState.js
View file @
9bec9fe
...
...
@@ -15,6 +15,11 @@ export const resolvers = {
},
logUserOut
:
(
_
,
__
,
{
cache
})
=>
{
localStorage
.
removeItem
(
"token"
);
cache
.
writeData
({
data
:
{
isLoggedIn
:
false
,
},
});
window
.
location
.
reload
();
return
null
;
},
...
...
Please
register
or
login
to post a comment