Skip to content

Commit b30d2c6

Browse files
authored
Merge pull request #134 from part3-4team-Taskify/feature/Gnb
[Fix] 배포 에러 fix 목적 불필요한 코드 제거
2 parents 9b8758e + 3f85ad5 commit b30d2c6

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

src/components/modalInput/ModalImage.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ import { uploadCardImage } from "@/api/card";
55

66
interface ModalImageProps {
77
label: string;
8-
teamId: string;
98
columnId: number;
109
defaultImageUrl?: string;
1110
onImageSelect: (imageUrl: string) => void; // ✅ string만 넘김
1211
}
1312

1413
export default function ModalImage({
1514
label,
16-
teamId,
1715
columnId,
1816
defaultImageUrl,
1917
onImageSelect,

src/components/modalInput/TaskModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export default function TaskModal({
111111

112112
<ModalImage
113113
label="이미지"
114-
teamId={""} // 부모에서 넘겨줘야 함
115114
columnId={0}
116115
defaultImageUrl={formData.image}
117116
onImageSelect={(url) => handleChange("image", url)}

src/components/modalInput/ToDoModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ export default function TaskModal({
126126

127127
<ModalImage
128128
label="이미지"
129-
teamId={teamId}
130129
columnId={columnId}
131130
onImageSelect={(url) => handleChange("image", url)}
132131
/>

src/pages/signup.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { useState } from "react";
22
import { useRouter } from "next/router";
33
import { signUp } from "@/api/users";
4-
import { TEAM_ID } from "@/constants/team";
54
import Input from "@/components/input/Input";
65
import Link from "next/link";
76
import { Modal } from "@/components/modal/Modal";
@@ -16,7 +15,6 @@ export default function SignUpPage() {
1615
const [isSuccessModalOpen, setIsSuccessModalOpen] = useState(false);
1716

1817
const router = useRouter();
19-
const teamId = TEAM_ID;
2018

2119
const isFormValid =
2220
email.trim() !== "" &&

0 commit comments

Comments
 (0)