Skip to content

Commit

Permalink
Improve the updating function for the token.
Browse files Browse the repository at this point in the history
  • Loading branch information
yjcyxky committed Mar 18, 2024
1 parent b3ab37f commit 960f2a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions studio/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { getJwtAccessToken } from '@/components/util';
import { useAuth0 } from "@auth0/auth0-react";
import type { MenuProps } from 'antd';
import { history } from 'umi';
// @ts-ignore
import jwtDecode from "jwt-decode";
import { jwtDecode } from "jwt-decode";

import styles from './index.less';
import './extra.less'
Expand Down

0 comments on commit 960f2a9

Please sign in to comment.