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) {