Spaces:
Running
Running
Commit
·
c65fd94
1
Parent(s):
b6516e1
use huggingface.co / aitube.at
Browse files
src/app/state/useCurrentUser.ts
CHANGED
@@ -107,7 +107,7 @@ export function useCurrentUser({
|
|
107 |
"huggingface.co:oauth:nonce",
|
108 |
localStorage.getItem("aitube.at:oauth:nonce") || ""
|
109 |
)
|
110 |
-
localStorage.removeItem("aitube.
|
111 |
localStorage.setItem(
|
112 |
"huggingface.co:oauth:code_verifier",
|
113 |
localStorage.getItem("aitube.at:oauth:code_verifier") || ""
|
@@ -205,7 +205,7 @@ export function useCurrentUser({
|
|
205 |
localStorage.getItem("huggingface.co:oauth:nonce") || ""
|
206 |
)
|
207 |
localStorage.setItem(
|
208 |
-
"
|
209 |
localStorage.getItem("huggingface.co:oauth:code_verifier") || ""
|
210 |
)
|
211 |
|
|
|
107 |
"huggingface.co:oauth:nonce",
|
108 |
localStorage.getItem("aitube.at:oauth:nonce") || ""
|
109 |
)
|
110 |
+
localStorage.removeItem("aitube.at:oauth:code_verifier")
|
111 |
localStorage.setItem(
|
112 |
"huggingface.co:oauth:code_verifier",
|
113 |
localStorage.getItem("aitube.at:oauth:code_verifier") || ""
|
|
|
205 |
localStorage.getItem("huggingface.co:oauth:nonce") || ""
|
206 |
)
|
207 |
localStorage.setItem(
|
208 |
+
"aitube.at:oauth:code_verifier",
|
209 |
localStorage.getItem("huggingface.co:oauth:code_verifier") || ""
|
210 |
)
|
211 |
|