wr: help 이미지 수정

This commit is contained in:
2026-06-11 09:27:25 +09:00
parent ced1b7084d
commit 2c495ab8fd
2 changed files with 9 additions and 1 deletions
+9 -1
View File
@@ -26,6 +26,14 @@ interface JwtState {
error: string | null; // 쿠키 없음, 파싱 실패 등 오류 메시지
}
const initialJwtState: JwtState = {
token: "",
payload: null,
exp: null,
expDateLocal: null,
remainingMs: null,
error: null,
};
function parseJwt(token: string): JwtPayload {
const parts = token.split(".");
@@ -112,7 +120,7 @@ function readJwtState(): JwtState {
}
export default function Page() {
const [jwtState, setJwtState] = useState<JwtState>(() => readJwtState());
const [jwtState, setJwtState] = useState<JwtState>(initialJwtState);
const isRefreshingRef = useRef(false);
const handleSilentRefresh = async () => {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB