From ab9fd6fd5c90239fab3530ff4feb88200cf43303 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:08:35 +0900 Subject: [PATCH 01/11] =?UTF-8?q?feat(api):=20=EC=A0=84=EC=B2=B4=20?= =?UTF-8?q?=EC=B9=B4=ED=85=8C=EA=B3=A0=EB=A6=AC=20=EC=84=9C=EC=B9=98=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/api/category/categoryService.ts | 28 +++++++++++++++++-- .../interface/GetCategoryListInterface.ts | 6 ++++ 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 lib/api/category/interface/GetCategoryListInterface.ts diff --git a/lib/api/category/categoryService.ts b/lib/api/category/categoryService.ts index 054de748..2209afc4 100644 --- a/lib/api/category/categoryService.ts +++ b/lib/api/category/categoryService.ts @@ -7,6 +7,9 @@ import { GetUserCategoriesResponseDto, } from "@til-log.lab/tilog-api"; +import GetCategoryListInterface from "@Library/api/category/interface/GetCategoryListInterface"; +import ExceptionInterface from "@Library/api/exception/interface"; + export default class CategoryService { constructor( private readonly categoryRepository: CategoryRepository, @@ -15,7 +18,7 @@ export default class CategoryService { getCategories( categoryName?: string, options?: AxiosRequestConfig - ): Promise> { + ): Promise> { return this.categoryRepository.categoriesControllerGetCategories( categoryName, options @@ -24,10 +27,31 @@ export default class CategoryService { getUsersCategories( userId: number, options?: AxiosRequestConfig - ): Promise> { + ): Promise> { return this.categoryRepository.categoriesControllerGetUsersCategories( userId, options ); } + + getCategoryList({ + userId, + options, + }: GetCategoryListInterface): Promise< + AxiosResponse< + GetUserCategoriesResponseDto | GetCategoriesResponseDto, + ExceptionInterface + > + > { + if (userId) { + return this.categoryRepository.categoriesControllerGetUsersCategories( + userId, + options + ); + } + return this.categoryRepository.categoriesControllerGetCategories( + undefined, + options + ); + } } diff --git a/lib/api/category/interface/GetCategoryListInterface.ts b/lib/api/category/interface/GetCategoryListInterface.ts new file mode 100644 index 00000000..e4690da1 --- /dev/null +++ b/lib/api/category/interface/GetCategoryListInterface.ts @@ -0,0 +1,6 @@ +import { AxiosRequestConfig } from "axios"; + +export default interface GetCategoryListInterface { + userId?: number; + options?: AxiosRequestConfig; +} From 88b29697e3cb4ea0716e60d6569dafc70e44e778 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:08:58 +0900 Subject: [PATCH 02/11] feat(lib-utility): isArrayEmpty --- lib/utility/isArrayEmpty.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/utility/isArrayEmpty.ts diff --git a/lib/utility/isArrayEmpty.ts b/lib/utility/isArrayEmpty.ts new file mode 100644 index 00000000..e0711764 --- /dev/null +++ b/lib/utility/isArrayEmpty.ts @@ -0,0 +1,6 @@ +const isArrayEmpty = (array: ArrayType[]): boolean => { + if (array.length === 0) return true; + return false; +}; + +export default isArrayEmpty; From ba42e1e89f4dd669370c5933b0a91b70661380e7 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:09:06 +0900 Subject: [PATCH 03/11] feat(lib-utility): routerHelper --- lib/utility/routerHelper.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/utility/routerHelper.ts diff --git a/lib/utility/routerHelper.ts b/lib/utility/routerHelper.ts new file mode 100644 index 00000000..6312b2a8 --- /dev/null +++ b/lib/utility/routerHelper.ts @@ -0,0 +1,12 @@ +const routerHelper = (href: string, targetName: string, target: string) => { + return ( + href + // 1. target이 & 일경우 그냥 다 날려주면 됩니다. + .replace(`&${targetName}=${target}`, "") + // 2. target이 ? 일경우 &를 찾아서 ?로 변경해줘야합니다. + .replace(`?${targetName}=${target}`, "") + .replace("&", "?") + ); +}; + +export default routerHelper; From e55f63975e8c7df7db85f28d4a94d9484128c47d Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:09:56 +0900 Subject: [PATCH 04/11] =?UTF-8?q?style(molecules-buttons):=20=EC=B9=B4?= =?UTF-8?q?=ED=85=8C=EA=B3=A0=EB=A6=AC=20=EB=B2=84=ED=8A=BC=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../molecules/buttons/CategorySortButton.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/common/molecules/buttons/CategorySortButton.tsx b/src/components/common/molecules/buttons/CategorySortButton.tsx index 8d359dd1..92049df0 100644 --- a/src/components/common/molecules/buttons/CategorySortButton.tsx +++ b/src/components/common/molecules/buttons/CategorySortButton.tsx @@ -2,6 +2,7 @@ import { useRouter } from "next/router"; import React from "react"; import LinkTo from "@Components/common/atom/LinkTo"; +import routerHelper from "@Library/utility/routerHelper"; interface CategorySortButtonProps { categoryName: string; @@ -18,22 +19,19 @@ const CategorySortButton = ({ categoryName }: CategorySortButtonProps) => { pathname: router.pathname, query: { ...router.query, category: categoryName }, }} - className="p-2 text-sm font-semibold rounded-sm hover:no-underline font-eng-sub-font-2 bg-neutral-50 dark:bg-neutral-800 ring-1 ring-neutral-200 dark:ring-neutral-700 hover:bg-neutral-100 hover:dark:bg-neutral-700" + className="p-2 text-lg font-semibold hover:no-underline text-neutral-400 dark:text-neutral-50" > - # - - {categoryName} - + {categoryName} ); } return ( - # {categoryName} + {categoryName} ); }; From cf3f21e4bc157b930ad36332a6f1868639c6ce6f Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:10:45 +0900 Subject: [PATCH 05/11] =?UTF-8?q?fix(organisms-list):=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=EB=AA=85=20=EB=B3=80=EA=B2=BD=20sticky=EC=98=B5=EC=85=98?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20top-0=EC=97=90=20=EB=B6=99=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organisms/list/CategoryButtonList.tsx | 21 ------------ .../organisms/list/CategorySortButtonList.tsx | 32 +++++++++++++++++++ 2 files changed, 32 insertions(+), 21 deletions(-) delete mode 100644 src/components/common/organisms/list/CategoryButtonList.tsx create mode 100644 src/components/common/organisms/list/CategorySortButtonList.tsx diff --git a/src/components/common/organisms/list/CategoryButtonList.tsx b/src/components/common/organisms/list/CategoryButtonList.tsx deleted file mode 100644 index 246d6384..00000000 --- a/src/components/common/organisms/list/CategoryButtonList.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import Spinner from "@Components/common/atom/loading/Spinner"; -import CategorySortButton from "@Components/common/molecules/buttons/CategorySortButton"; -import useAllGetCategoryListQuery from "@Hooks/react-query/category/useAllGetCategoryListQuery"; - -const CategoryButtonList = () => { - const categoryList = useAllGetCategoryListQuery(); - if (categoryList.isLoading) return ; - if (categoryList.isError) return
{categoryList.error.message.ko}
; - if (!categoryList.data) return null; - return ( -
- {categoryList.data.data.list.length === 0 && ( -

카테고리가 존재하지 않아요.

- )} - {categoryList.data.data.list.map((category) => ( - - ))} -
- ); -}; -export default CategoryButtonList; diff --git a/src/components/common/organisms/list/CategorySortButtonList.tsx b/src/components/common/organisms/list/CategorySortButtonList.tsx new file mode 100644 index 00000000..5b5a57d3 --- /dev/null +++ b/src/components/common/organisms/list/CategorySortButtonList.tsx @@ -0,0 +1,32 @@ +import Spinner from "@Components/common/atom/loading/Spinner"; +import CategorySortButton from "@Components/common/molecules/buttons/CategorySortButton"; +import useGetAllCategoryListQuery from "@Hooks/react-query/category/useGetAllCategoryListQuery"; +import isArrayEmpty from "@Library/utility/isArrayEmpty"; + +import { GetMeResponseDto } from "@til-log.lab/tilog-api"; + +const CategorySortButtonList = ({ + userId, +}: { + userId?: GetMeResponseDto["userId"]; +}) => { + const categoryList = useGetAllCategoryListQuery({ userId }); + if (categoryList.isLoading) return ; + if (categoryList.isError) return
{categoryList.error.message.ko}
; + if (!categoryList.data) return null; + if (isArrayEmpty(categoryList.data.data.list)) + return

카테고리가 존재하지 않아요.

; + + return ( +
+
+
+ {categoryList.data.data.list.map((category) => ( + + ))} +
+
+
+ ); +}; +export default CategorySortButtonList; From 23aea0daa09868e8596ca1df110762dab5011955 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:11:20 +0900 Subject: [PATCH 06/11] =?UTF-8?q?fix(hooks-react-query):=20api=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../category/useGetAllCategoryListQuery.ts | 38 +++++++++++++++++++ .../category/useGetCategoryQuery.ts | 27 +++++++++++++ .../react-query/category/useSearchCategory.ts | 15 +++++--- 3 files changed, 75 insertions(+), 5 deletions(-) create mode 100644 src/hooks/react-query/category/useGetAllCategoryListQuery.ts create mode 100644 src/hooks/react-query/category/useGetCategoryQuery.ts diff --git a/src/hooks/react-query/category/useGetAllCategoryListQuery.ts b/src/hooks/react-query/category/useGetAllCategoryListQuery.ts new file mode 100644 index 00000000..a387b6bb --- /dev/null +++ b/src/hooks/react-query/category/useGetAllCategoryListQuery.ts @@ -0,0 +1,38 @@ +import { AxiosResponse } from "axios"; +import { useQuery } from "react-query"; + +import api from "@Library/api"; + +import { + GetCategoriesResponseDto, + GetUserCategoriesResponseDto, +} from "@til-log.lab/tilog-api"; + +import GetCategoryListInterface from "@Library/api/category/interface/GetCategoryListInterface"; +import ExceptionInterface from "@Library/api/exception/interface"; + +const useGetAllCategoryListQuery = ({ + userId, + options, +}: GetCategoryListInterface) => { + return useQuery< + AxiosResponse, + ExceptionInterface, + AxiosResponse + >( + ["CategoryList", userId], + () => api.categoryService.getCategoryList({ userId, options }), + { + retry: 0, + refetchOnWindowFocus: false, + refetchInterval: false, + + // NOTE: 전체 카테고리의 데이터는 유동적이지 않기 때문에 한번 Fetching한 후 데이터를 서버와 동기화 하지 않습니다. + retryOnMount: false, + refetchOnMount: false, + staleTime: Infinity, + } + ); +}; + +export default useGetAllCategoryListQuery; diff --git a/src/hooks/react-query/category/useGetCategoryQuery.ts b/src/hooks/react-query/category/useGetCategoryQuery.ts new file mode 100644 index 00000000..3cc7a5a5 --- /dev/null +++ b/src/hooks/react-query/category/useGetCategoryQuery.ts @@ -0,0 +1,27 @@ +import { AxiosResponse } from "axios"; +import { useQuery } from "react-query"; + +import api from "@Library/api"; + +import { GetCategoriesResponseDto } from "@til-log.lab/tilog-api"; + +import ExceptionInterface from "@Library/api/exception/interface"; + +const useGetCategoryQuery = () => { + return useQuery< + AxiosResponse, + ExceptionInterface, + AxiosResponse + >("CategoryList", () => api.categoryService.getCategories(), { + retry: 0, + refetchOnWindowFocus: false, + refetchInterval: false, + + // NOTE: 전체 카테고리의 데이터는 유동적이지 않기 때문에 한번 Fetching한 후 데이터를 서버와 동기화 하지 않습니다. + retryOnMount: false, + refetchOnMount: false, + staleTime: Infinity, + }); +}; + +export default useGetCategoryQuery; diff --git a/src/hooks/react-query/category/useSearchCategory.ts b/src/hooks/react-query/category/useSearchCategory.ts index fc024e4e..1b90d935 100644 --- a/src/hooks/react-query/category/useSearchCategory.ts +++ b/src/hooks/react-query/category/useSearchCategory.ts @@ -1,14 +1,19 @@ -import useAllGetCategoryListQuery from "@Hooks/react-query/category/useAllGetCategoryListQuery"; +import useGetCategoryQuery from "@Hooks/react-query/category/useGetCategoryQuery"; -import { GetCategoriesItem } from "@til-log.lab/tilog-api"; +import { + GetCategoriesItem, + GetUserCategoriesItem, +} from "@til-log.lab/tilog-api"; const useSearchCategory = () => { - const { data } = useAllGetCategoryListQuery(); + const { data } = useGetCategoryQuery(); return ( - categoryName?: GetCategoriesItem["categoryName"], + categoryName?: + | GetUserCategoriesItem["categoryName"] + | GetCategoriesItem["categoryName"], categoryId?: string - ): GetCategoriesItem[] | null => { + ): GetCategoriesItem[] | GetUserCategoriesItem[] | null => { if (!data) return null; const categoryList = data.data.list; From 3c0273ff8b0da7f7f5a9a814d143ee596fcfc419 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:12:15 +0900 Subject: [PATCH 07/11] =?UTF-8?q?fix:=20=EB=82=B4=EB=B3=B4=EB=82=B4?= =?UTF-8?q?=EA=B8=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/modules/blog/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modules/blog/index.tsx b/src/components/modules/blog/index.tsx index 2805dc13..a8c69de5 100644 --- a/src/components/modules/blog/index.tsx +++ b/src/components/modules/blog/index.tsx @@ -1,5 +1,5 @@ +import CategorySortButtonList from "@Components/common/organisms/list/CategorySortButtonList"; import PostCardList from "@Components/common/organisms/list/PostCardList"; -import UserCategoryButtonList from "@Components/common/organisms/list/UserCategoryButtonList"; import UserInfoProfile from "@Components/common/organisms/profile/UserInfoProfile"; -export { UserCategoryButtonList, UserInfoProfile, PostCardList }; +export { CategorySortButtonList, UserInfoProfile, PostCardList }; From 777fe87030e72c77fa82eb4b9b6010306c44cab8 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:12:31 +0900 Subject: [PATCH 08/11] =?UTF-8?q?fix:=20=ED=95=84=EC=9A=94=EC=97=86?= =?UTF-8?q?=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organisms/list/UserCategoryButtonList.tsx | 27 ------------------- .../category/useAllGetCategoryListQuery.ts | 27 ------------------- .../useAllGetUserCategoryListQuery.ts | 26 ------------------ 3 files changed, 80 deletions(-) delete mode 100644 src/components/common/organisms/list/UserCategoryButtonList.tsx delete mode 100644 src/hooks/react-query/category/useAllGetCategoryListQuery.ts delete mode 100644 src/hooks/react-query/category/useAllGetUserCategoryListQuery.ts diff --git a/src/components/common/organisms/list/UserCategoryButtonList.tsx b/src/components/common/organisms/list/UserCategoryButtonList.tsx deleted file mode 100644 index 5b595f4a..00000000 --- a/src/components/common/organisms/list/UserCategoryButtonList.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import Spinner from "@Components/common/atom/loading/Spinner"; -import CategorySortButton from "@Components/common/molecules/buttons/CategorySortButton"; -import useAllGetUserCategoryListQuery from "@Hooks/react-query/category/useAllGetUserCategoryListQuery"; - -import { GetMeResponseDto } from "@til-log.lab/tilog-api"; - -const UserCategoryButtonList = ({ - userId, -}: { - userId: GetMeResponseDto["userId"]; -}) => { - const categoryList = useAllGetUserCategoryListQuery(userId); - if (categoryList.isLoading) return ; - if (categoryList.isError) return
{categoryList.error.message.ko}
; - if (!categoryList.data) return null; - return ( -
- {categoryList.data.data.list.length === 0 && ( -

검색가능한 카테고리가 없어요!

- )} - {categoryList.data.data.list.map((category) => ( - - ))} -
- ); -}; -export default UserCategoryButtonList; diff --git a/src/hooks/react-query/category/useAllGetCategoryListQuery.ts b/src/hooks/react-query/category/useAllGetCategoryListQuery.ts deleted file mode 100644 index 87d1d412..00000000 --- a/src/hooks/react-query/category/useAllGetCategoryListQuery.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { AxiosResponse } from "axios"; -import { useQuery } from "react-query"; - -import api from "@Library/api"; - -import { GetCategoriesResponseDto } from "@til-log.lab/tilog-api"; - -import ExceptionInterface from "@Library/api/exception/interface"; - -const useAllGetCategoryListQuery = () => { - return useQuery< - AxiosResponse, - ExceptionInterface, - AxiosResponse - >("CategoryList", () => api.categoryService.getCategories(), { - retry: 0, - refetchOnWindowFocus: false, - refetchInterval: false, - - // NOTE: 전체 카테고리의 데이터는 유동적이지 않기 때문에 한번 Fetching한 후 데이터를 서버와 동기화 하지 않습니다. - retryOnMount: false, - refetchOnMount: false, - staleTime: Infinity, - }); -}; - -export default useAllGetCategoryListQuery; diff --git a/src/hooks/react-query/category/useAllGetUserCategoryListQuery.ts b/src/hooks/react-query/category/useAllGetUserCategoryListQuery.ts deleted file mode 100644 index 91d63c91..00000000 --- a/src/hooks/react-query/category/useAllGetUserCategoryListQuery.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { AxiosResponse } from "axios"; -import { useQuery } from "react-query"; - -import api from "@Library/api"; - -import { GetUserCategoriesResponseDto } from "@til-log.lab/tilog-api"; - -import ExceptionInterface from "@Library/api/exception/interface"; - -const useAllGetUserCategoryListQuery = (userId: number) => { - return useQuery< - AxiosResponse, - ExceptionInterface, - AxiosResponse - >( - ["userCategoryList", userId], - () => api.categoryService.getUsersCategories(userId), - { - retry: 0, - refetchInterval: false, - refetchOnWindowFocus: false, - } - ); -}; - -export default useAllGetUserCategoryListQuery; From b1b865f26554e29986afd6051e21e1b0617ce9aa Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:12:42 +0900 Subject: [PATCH 09/11] =?UTF-8?q?fix:=20=EC=BD=94=EB=93=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/blog/[username].tsx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/pages/blog/[username].tsx b/src/pages/blog/[username].tsx index 3c1a66ea..c6ccbe14 100644 --- a/src/pages/blog/[username].tsx +++ b/src/pages/blog/[username].tsx @@ -2,11 +2,8 @@ import { GetServerSideProps, NextPage } from "next"; import { DefaultSeoProps, NextSeo } from "next-seo"; -import { - UserCategoryButtonList, - UserInfoProfile, - PostCardList, -} from "@Components/modules/blog"; +import CategorySortButtonList from "@Components/common/organisms/list/CategorySortButtonList"; +import { UserInfoProfile, PostCardList } from "@Components/modules/blog"; import useGetStringTypeToRouter from "@Hooks/router/useGetStringTypeToRouter"; import api from "@Library/api"; import { userBlogDetailSeo } from "@Library/utility/seo"; @@ -14,19 +11,19 @@ import { userBlogDetailSeo } from "@Library/utility/seo"; interface BlogPagePageProps { seo: DefaultSeoProps; } -// TODO: 현재 BlogPage는 UserID 1 번을 반환하도록 하드 코딩되어 있습니다. userName로 전달받을 수 있게 변경된다면 그렇게 변경해야합니다. +// TODO: 현재 BlogPage는 UserID 1 번을 반환하도록 하드 코딩되어 있습니다. userName로 전달받을 수 있게 변경된 후 코드를 변경해야합니다. const BlogPage: NextPage = ({ seo }: BlogPagePageProps) => { const category = useGetStringTypeToRouter("category"); return (
-
+ + +

- -
{/* TODO GITHUB STATUS LINK */}

Pinned Repo

From 57f622e2ff1390a9ec1604edfa30fcaf7f3cce20 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:18:45 +0900 Subject: [PATCH 10/11] =?UTF-8?q?style(common-organisms):=20=EC=9C=84?= =?UTF-8?q?=EC=B9=98=EA=B0=92=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/organisms/list/CategorySortButtonList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/organisms/list/CategorySortButtonList.tsx b/src/components/common/organisms/list/CategorySortButtonList.tsx index 5b5a57d3..035eafb5 100644 --- a/src/components/common/organisms/list/CategorySortButtonList.tsx +++ b/src/components/common/organisms/list/CategorySortButtonList.tsx @@ -18,7 +18,7 @@ const CategorySortButtonList = ({ return

카테고리가 존재하지 않아요.

; return ( -
+
{categoryList.data.data.list.map((category) => ( From 9eb9c2fdc90db6d0678d76cba99f588639063556 Mon Sep 17 00:00:00 2001 From: MINJE-98 Date: Fri, 12 Aug 2022 22:19:19 +0900 Subject: [PATCH 11/11] =?UTF-8?q?fix:=20=5Fapp=20=EC=9C=84=EC=B9=98?= =?UTF-8?q?=EA=B0=92=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/_app.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index b16c8020..2c6e4b01 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -14,9 +14,7 @@ const App = ({ Component, pageProps }: AppProps) => {
-
- -
+ ); };