File tree Expand file tree Collapse file tree 4 files changed +0
-6
lines changed
Expand file tree Collapse file tree 4 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,13 @@ import { uploadCardImage } from "@/api/card";
55
66interface ModalImageProps {
77 label : string ;
8- teamId : string ;
98 columnId : number ;
109 defaultImageUrl ?: string ;
1110 onImageSelect : ( imageUrl : string ) => void ; // ✅ string만 넘김
1211}
1312
1413export default function ModalImage ( {
1514 label,
16- teamId,
1715 columnId,
1816 defaultImageUrl,
1917 onImageSelect,
Original file line number Diff line number Diff 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 ) }
Original file line number Diff line number Diff 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 />
Original file line number Diff line number Diff line change 11import { useState } from "react" ;
22import { useRouter } from "next/router" ;
33import { signUp } from "@/api/users" ;
4- import { TEAM_ID } from "@/constants/team" ;
54import Input from "@/components/input/Input" ;
65import Link from "next/link" ;
76import { 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 ( ) !== "" &&
You can’t perform that action at this time.
0 commit comments