Skip to content

Commit dd513da

Browse files
committed
refactor: hello-pagea/dnd 로 dnd 교체, 이미지 3개 등록 및 프리뷰 dnd 적용 등
1 parent 2046123 commit dd513da

File tree

9 files changed

+678
-472
lines changed

9 files changed

+678
-472
lines changed

package-lock.json

Lines changed: 55 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
},
1616
"dependencies": {
1717
"@channel.io/channel-web-sdk-loader": "^2.0.0",
18+
"@hello-pangea/dnd": "^17.0.0",
1819
"@hookform/resolvers": "^3.9.0",
1920
"@lottiefiles/react-lottie-player": "^3.5.4",
2021
"@next/third-parties": "^15.1.2",
@@ -30,7 +31,6 @@
3031
"next-sitemap": "^4.2.3",
3132
"prettier": "^3.3.3",
3233
"react": "^18",
33-
"react-beautiful-dnd": "^13.1.1",
3434
"react-datepicker": "^7.5.0",
3535
"react-dom": "^18",
3636
"react-hook-form": "^7.53.0",

src/app/(pages)/(workform)/addform/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"use client";
2+
23
import { useEffect, useMemo, useState } from "react";
34
import { useRouter, useSearchParams } from "next/navigation";
45
import { FormProvider, useForm } from "react-hook-form";

src/app/(pages)/(workform)/addform/section/RecruitContentSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"use client";
2+
23
import BaseInput from "@/app/components/input/text/BaseInput";
34
import BaseTextArea from "@/app/components/input/textarea/BaseTextArea";
45
import DatePickerInput from "@/app/components/input/dateTimeDaypicker/DatePickerInput";
@@ -10,7 +11,6 @@ import { ImageInputType } from "@/types/addform";
1011
import useUploadImages from "@/hooks/queries/user/me/useImageUpload";
1112
import { formatToLocaleDate } from "@/utils/formatters";
1213
import DotLoadingSpinner from "@/app/components/loading-spinner/DotLoadingSpinner";
13-
import { isDirty } from "zod";
1414
import ImageInput from "@/app/components/input/file/ImageInput/ImageInput";
1515

1616
// 워크폼 만들기 - 사장님 - 1-모집내용

0 commit comments

Comments
 (0)