diff --git a/pages/favorite/index.tsx b/pages/favorite/index.tsx index 479980a..59c3652 100644 --- a/pages/favorite/index.tsx +++ b/pages/favorite/index.tsx @@ -66,7 +66,6 @@ const FavoritePage = ({ const [totalCount, setTotalCount] = useState(initialTotalCount); useFetchLinks(setLinkCardList, setIsLoading); - // // 마이링크 페이지로 돌아감 const returnButton = () => { @@ -86,10 +85,9 @@ const FavoritePage = ({ 👈 마이링크로 돌아가기 - {/* 로딩 중일 때 */} {isLoading ? ( -
+
) : linkCardList.length > 0 ? ( diff --git a/pages/link/index.tsx b/pages/link/index.tsx index cfdc24e..1bf93fa 100644 --- a/pages/link/index.tsx +++ b/pages/link/index.tsx @@ -119,7 +119,9 @@ const LinkPage = ({ )}
{isLoading ? ( - // 로딩 상태일 때 로딩 스피너 표시 +
+ +
) : linkCardList.length !== 0 ? ( <>