mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: add chapter title edition
This commit is contained in:
parent
3dc5d760f9
commit
b6f535080a
3 changed files with 48 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ const AuthProvider = ({ children }: any) => {
|
|||
|
||||
|
||||
async function checkRefreshToken() {
|
||||
deleteCookie("access_token_cookie");
|
||||
//deleteCookie("access_token_cookie");
|
||||
let data = await getNewAccessTokenUsingRefreshToken();
|
||||
if (data) {
|
||||
return data.access_token;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue