diff --git a/constants/system.ts b/constants/system.ts index 71c466be..cadd9bb9 100644 --- a/constants/system.ts +++ b/constants/system.ts @@ -1,4 +1,3 @@ export const WEB_URL = "https://studyabout.herokuapp.com"; export const SERVER_URI = process.env.NEXT_PUBLIC_SERVER_URI; -console.log("hello", SERVER_URI); export const DEFAULT_BACK_URL = "/home"; diff --git a/pageTemplates/home/HomeGroupSection.tsx b/pageTemplates/home/HomeGroupSection.tsx index 88f18555..5e699d17 100644 --- a/pageTemplates/home/HomeGroupSection.tsx +++ b/pageTemplates/home/HomeGroupSection.tsx @@ -11,7 +11,6 @@ interface HomeGroupSectionProps { } function HomeGroupSection({ groups }: HomeGroupSectionProps) { - console.log(2, groups); return ( <> diff --git a/pageTemplates/vote/VoteDrawer.tsx b/pageTemplates/vote/VoteDrawer.tsx index 4c9bf030..1efd49b8 100644 --- a/pageTemplates/vote/VoteDrawer.tsx +++ b/pageTemplates/vote/VoteDrawer.tsx @@ -123,7 +123,6 @@ function VoteDrawer({ location, false, ); - console.log(24, convertMergeParticipations); setMergeParticipations(convertMergeParticipations); const findMyStudy = convertMergeParticipations.find( (par) => par.place._id === myStudyParticipation?.place._id, diff --git a/pages/api/token/index.ts b/pages/api/token/index.ts index f144967b..ec11fc67 100644 --- a/pages/api/token/index.ts +++ b/pages/api/token/index.ts @@ -8,8 +8,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) switch (method) { case "GET": { - const jwt = await getToken({ req, secret, raw: true }); - console.log(jwt); + const jwt = await getToken({ req, secret, raw: true }) console.log(jwt); res.status(200).json(jwt); break; } diff --git a/pages/group/index.tsx b/pages/group/index.tsx index f7018a4c..b842183e 100644 --- a/pages/group/index.tsx +++ b/pages/group/index.tsx @@ -83,7 +83,6 @@ function GroupPage() { enabled: !!status, }, ); - console.log(groups); useEffect(() => { return () => { const localStorageCursorNumChange = !localStorageCursorNum @@ -110,7 +109,6 @@ function GroupPage() { }); if (!searchParams.get("filter")) { - console.log(24); newSearchParams.append("filter", "pending"); newSearchParams.append("category", "0"); router.replace(`/group?${newSearchParams.toString()}`); @@ -143,7 +141,6 @@ function GroupPage() { }, []); useEffect(() => { - console.log(1, status); newSearchParams.set("filter", statusToEn[status]); router.replace(`/group?${newSearchParams.toString()}`); }, [status]); @@ -152,16 +149,13 @@ function GroupPage() { if (!groups) return; firstLoad.current = false; - console.log(category); if (category.main === "전체") { - console.log(2, groups); const newArray = shuffleArray(groups); setGroupStudies((old) => [ ...newArray.filter((item) => !old.some((existingItem) => existingItem.id === item.id)), ...old, ]); } else { - console.log(43); setGroupStudies(groups.filter((item) => !category.sub || item.category.sub === category.sub)); } }, [groups, category.main, category.sub]);