Skip to content

Commit 819ee33

Browse files
authored
Merge pull request #111 from codeit9-temporary/feature/LandingPage
Fix:메타태그 viewport 추가 & 콘솔로그 제거
2 parents 405df36 + cd06763 commit 819ee33

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

hooks/useFetchLinks.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const useFetchLinks = (
3030
search: query?.search,
3131
},
3232
});
33-
console.log("query가 바뀌었을 때 다시 받아온 리스트:", res.data.list);
3433
setLinkCardList(res.data.list);
3534
{
3635
setTotalCount && setTotalCount(res.data.totalCount);

pages/_app.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ export default function App({ Component, pageProps }: AppProps) {
2626
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
2727
/>
2828
<title>Linkbrary</title>
29+
<meta
30+
name="viewport"
31+
content="width=device-width, initial-scale=1.0"
32+
></meta>
2933
</Head>
3034

3135
<script

pages/api/auth/sign-in/kakao.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { serialize } from "cookie";
55
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
66
try {
77
const { code } = req.query;
8-
console.log(code);
8+
99
if (!code) {
1010
return res.status(400).json({ message: "인증 코드가 없습니다." });
1111
}

pages/api/auth/sign-up/kakao.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { serialize } from "cookie";
55
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
66
try {
77
const { code } = req.query;
8-
console.log(code);
8+
99
if (!code) {
1010
return res.status(400).json({ message: "인증 코드가 없습니다." });
1111
}

pages/link/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ const LinkPage = ({
7474
// 링크페이지의 query가 바뀌면 새로운 리스트로 업데이트 해주는 훅
7575
useFetchLinks(setLinkCardList, setTotalCount, router.query, router.pathname);
7676

77-
console.log(linkCardList);
78-
7977
return (
8078
<>
8179
<div className="bg-gray100 w-full h-[219px] flex justify-center items-center">

0 commit comments

Comments
 (0)