From c4804ce2c75eedde35b07762b31cb15025df238b Mon Sep 17 00:00:00 2001 From: Youjiiin Date: Wed, 4 Sep 2024 14:05:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=95=84=EC=9D=B4=EB=94=94=20=EC=B0=BE?= =?UTF-8?q?=EA=B8=B0=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/find/findId/FindId.js | 1 + src/pages/main/mainPage/api.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/pages/login/find/findId/FindId.js b/src/pages/login/find/findId/FindId.js index eba1f98..7e6ad8a 100644 --- a/src/pages/login/find/findId/FindId.js +++ b/src/pages/login/find/findId/FindId.js @@ -1,6 +1,7 @@ import { useContext, useState, useEffect } from 'react'; import { MyContext } from '../../../../App.js'; import { useNavigate } from 'react-router-dom'; +import { toast } from 'sonner'; import axios from 'axios'; import SignInBox from '../../signIn/SignInBox.js'; diff --git a/src/pages/main/mainPage/api.js b/src/pages/main/mainPage/api.js index bf655de..dd19edc 100644 --- a/src/pages/main/mainPage/api.js +++ b/src/pages/main/mainPage/api.js @@ -23,6 +23,7 @@ export const BuddyHandler = async (navigate, setBuddyCount) => { } ); const data = await response.json(); + console.log(data) if (data.data !== null) { setBuddyCount(data.data.matchingCompletedCount); @@ -104,6 +105,7 @@ export const HonbobHandler = async navigate => { } const data = await response.json(); + console.log(data) if (data.data) { switch (data.data.status) {