From 34bcd7ee49b2acb029cf384330640e339c50cc45 Mon Sep 17 00:00:00 2001 From: eunxoo Date: Thu, 15 Feb 2024 14:27:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=A0=ED=82=A4=20=ED=99=95=EC=9D=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/LoginPage.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/login/LoginPage.jsx b/src/pages/login/LoginPage.jsx index 6d35d26..5faa514 100644 --- a/src/pages/login/LoginPage.jsx +++ b/src/pages/login/LoginPage.jsx @@ -2,7 +2,7 @@ import axios from "axios"; import React, { useState } from "react"; import { useNavigate } from "react-router-dom"; import styled from "styled-components"; -import { setCookie } from "../../api/cookie"; +import { getCookie, setCookie } from "../../api/cookie"; const LoginLayout = styled.div` display: flex; @@ -109,7 +109,7 @@ const LoginPage = () => { setCookie("refreshToken", response.data.result.refreshToken, { path: "/", }); - + console.log(getCookie("accessToken")); navigate("/"); } catch (err) { console.error(err);