Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"framer-motion": "^11.0.6",
"html-to-image": "^1.11.11",
"http-proxy-middleware": "^2.0.6",
"lottie-react": "^2.4.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📌 기존 로딩 UI를 위해 설치했던 react-lottie 라이브러리가 더이상 관리되지 않는 점과 빌드 시 지속적으로 발생하는 버전이슈 문제로 인해 lottie-react 라이브러리로 대체하였습니다. 보여지는 이미지는 동일하고 라이브러리만 교체된 점 참고 부탁드립니다.

"next": "14.0.4",
"next-pwa": "^5.6.0",
"open-graph": "^0.2.6",
Expand All @@ -54,7 +55,6 @@
"react-dom": "^18.3.1",
"react-hook-form": "^7.50.0",
"react-ios-pwa-prompt": "^1.8.4",
"react-lottie": "^1.2.4",
"react-scripts": "^5.0.1",
"react-select": "^5.8.0",
"react-spinners": "^0.13.8",
Expand Down
5 changes: 2 additions & 3 deletions src/app/_api/adminTopics/editAdminTopic.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { editAdminTopicType } from '@/lib/types/requestedTopicType';
//PUT "/admin/topics/{topicId}"

import axiosInstance from '@/lib/axios/axiosInstance';

import { editAdminTopicType } from '@/lib/types/requestedTopicType';

const editAdminTopic = async ({ topicId, isExposed, categoryCode, title }: editAdminTopicType) => {
await axiosInstance.put(`/admin/topics/${topicId}`, {
isExposed,
Expand Down
2 changes: 0 additions & 2 deletions src/app/_api/adminTopics/getAdminTopics.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// GET "/admin/topics?cursorId={}&size={}"

import axiosInstance from '@/lib/axios/axiosInstance';

interface GetTopicsType {
Expand Down
22 changes: 0 additions & 22 deletions src/app/_api/collect/__getCollection.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/app/_api/collect/__getCollectionCategories.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/app/_api/follow/getFollowerList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { FollowerListType } from '@/lib/types/followType';

const getFollowerList = async (userId: number) => {
const response = await axiosInstance.get<FollowerListType>(`/users/${userId}/followers`);
// const response = await axiosInstance.get<FollowerListType>(`/users/${userId}/followers?size={}&cursorId={}`);

return response.data;
};
Expand Down
2 changes: 1 addition & 1 deletion src/app/_api/list/uploadItemImages.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from 'axios';
import axiosInstance from '@/lib/axios/axiosInstance';
import { ItemImagesType, PresignedUrlListType } from '@/lib/types/listType';
import axios from 'axios';

interface UploadItemImagesProps {
listId: number;
Expand Down
2 changes: 0 additions & 2 deletions src/app/_api/topics/getTopics.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// GET "/topics?cursorId={}&size={}"

import axiosInstance from '@/lib/axios/axiosInstance';

interface GetTopicsType {
Expand Down
1 change: 0 additions & 1 deletion src/app/_api/user/getUsersByNicknameSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { UserSearchType } from '@/lib/types/user';

const getUsersByNicknameSearch = async (search: string) => {
const response = await axiosInstance.get<UserSearchType>(`/users?search=${search}`);
// const response = await axiosInstance.get<UserSearchType>(`/collaborators?search=${search}&size={}&page={}`);

return response.data;
};
Expand Down
2 changes: 0 additions & 2 deletions src/app/_context/init.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/account/profile/_components/ProfileForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function ProfileForm({
useEffect(() => {
setSelectedBackground(getValues('backgroundImageUrl') as string);
setSelectedProfile(getValues('profileImageUrl') as string);
}, []);
}, [getValues]);

return (
<>
Expand Down
2 changes: 0 additions & 2 deletions src/app/account/profile/_components/ProfileSkeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import Skeleton from '@/components/Skeleton/Skeleton';
import * as pageStyles from '../page.css';
import * as previewStyles from './ImagePreview.css';
import * as styles from './ProfileForm.css';

const NUMBER_OF_BACKGROUND_OPTIONS = 8;
Expand Down
1 change: 1 addition & 0 deletions src/app/account/profile/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use client';

import { useEffect, useState } from 'react';
import { FormProvider, useForm } from 'react-hook-form';
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
Expand Down
3 changes: 3 additions & 0 deletions src/app/auth/redirect/kakao/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { setCookie } from '@/lib/utils/cookie';

import Loading from '@/components/loading/Loading';

import { vars } from '@/styles/theme.css';

export default function KakaoRedirectPage() {
const router = useRouter();
const { updateUser } = useUser();
Expand Down Expand Up @@ -73,6 +75,7 @@ export default function KakaoRedirectPage() {
alignItems: 'center',
justifyContent: 'center',
height: '100vh',
backgroundColor: vars.color.white,
}}
>
<Loading />
Expand Down
2 changes: 1 addition & 1 deletion src/app/collection/[folderId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function CollectionDetailPage({ params }: ParamType) {
if (listData) {
setValue(listData.pages[0].folderName);
}
}, []);
}, [listData]);

return (
<section>
Expand Down
138 changes: 0 additions & 138 deletions src/app/collection/_[category]/_components/Top3Card.css.ts

This file was deleted.

74 changes: 0 additions & 74 deletions src/app/collection/_[category]/_components/Top3Card.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/app/collection/_[category]/_components/Top3CardItem.css.ts

This file was deleted.

16 changes: 0 additions & 16 deletions src/app/collection/_[category]/_components/Top3CardItem.tsx

This file was deleted.

Loading
Loading