coyotte508 HF staff commited on
Commit
08ff3f4
·
verified ·
1 Parent(s): aaf5659

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -3
index.html CHANGED
@@ -31,8 +31,6 @@
31
 
32
  let oauthResult = localStorage.getItem("oauth");
33
 
34
- console.log("localStorage", localStorage)
35
-
36
  if (oauthResult) {
37
  try {
38
  oauthResult = JSON.parse(oauthResult);
@@ -45,7 +43,7 @@
45
 
46
  if (oauthResult) {
47
  document.querySelector("pre").textContent = JSON.stringify(oauthResult, null, 2);
48
- localStorage.setItem("oauth", oauthResult);
49
  document.getElementById("signout").style.removeProperty("display");
50
  document.getElementById("signout").onClick = async function() {
51
  localStorage.removeItem("oauth");
 
31
 
32
  let oauthResult = localStorage.getItem("oauth");
33
 
 
 
34
  if (oauthResult) {
35
  try {
36
  oauthResult = JSON.parse(oauthResult);
 
43
 
44
  if (oauthResult) {
45
  document.querySelector("pre").textContent = JSON.stringify(oauthResult, null, 2);
46
+ localStorage.setItem("oauth", JSON.stringify(oauthResult));
47
  document.getElementById("signout").style.removeProperty("display");
48
  document.getElementById("signout").onClick = async function() {
49
  localStorage.removeItem("oauth");