MCPcopy
hub / github.com/algorithm-visualizer/algorithm-visualizer / signOut

Method signOut

src/components/App/index.js:115–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 signOut() {
116 Cookies.remove('access_token');
117 GitHubApi.auth(undefined)
118 .then(() => {
119 this.props.setUser(undefined);
120 })
121 .then(() => this.props.setScratchPapers([]));
122 }
123
124 loadScratchPapers() {
125 const per_page = 100;

Callers 1

signInMethod · 0.95

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected