Skip to content

Commit cd06763

Browse files
committed
Fix:메타태그 viewport 추가 & 콘솔로그 제거
1 parent 09d63a8 commit cd06763

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
@@ -22,6 +22,10 @@ export default function App({ Component, pageProps }: AppProps) {
2222
/>
2323
<meta property="og:image" content="/images/home_main.png" />
2424
<title>Linkbrary</title>
25+
<meta
26+
name="viewport"
27+
content="width=device-width, initial-scale=1.0"
28+
></meta>
2529
</Head>
2630

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