diff --git a/src/apis/index.js b/src/apis/index.js index 44b8004..bb1e2dc 100644 --- a/src/apis/index.js +++ b/src/apis/index.js @@ -8,3 +8,4 @@ export { searchCards, } from './cards'; export { getMyCard, postMyCard, deleteMyCard, putMyCard } from './myCard'; +export { kakaoLoginAPI } from './login'; diff --git a/src/pages/LoginPage/LoginPage.jsx b/src/pages/LoginPage/LoginPage.jsx index c8dd1be..fe47563 100644 --- a/src/pages/LoginPage/LoginPage.jsx +++ b/src/pages/LoginPage/LoginPage.jsx @@ -6,7 +6,8 @@ import { PrimaryButton, SecondaryButton } from '../../components'; import { useNavigate } from 'react-router-dom'; // import { kakaoLoginAPI, getUserInfo } from '../../apis/login'; -import { kakaoLoginAPI } from '../../apis/login'; + +import { kakaoLoginAPI } from '../../apis'; export default function LoginPage() { const navigate = useNavigate();