diff options
Diffstat (limited to 'application/github.js')
-rw-r--r-- | application/github.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/application/github.js b/application/github.js index cd59c4d..51dafea 100644 --- a/application/github.js +++ b/application/github.js @@ -35,16 +35,6 @@ export async function init () { installation = data.installation repositories = data.repositories - - const logout = document.createElement('button') - logout.setAttribute('style', 'display: inline-block; z-index: 100; position: absolute; right: 0px') - logout.textContent = 'Logout' - logout.addEventListener('click', () => { - localStorage.removeItem('auth_token') - location.reload() - }) - - document.body.appendChild(logout) } } |