File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
src/components/modalInput Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11import { useState } from "react" ;
2+ import RandomProfile from "@/components/common/RandomProfile" ;
23
34interface User {
45 id : number ;
@@ -55,7 +56,11 @@ export default function AssigneeSelect({
5556 className = "w-[26px] h-[26px] rounded-full object-cover"
5657 />
5758 ) : (
58- < div className = "w-[26px] h-[26px] rounded-full bg-gray-300" />
59+ < RandomProfile
60+ userId = { selectedUser . userId }
61+ name = { selectedUser . nickname }
62+ className = "w-[26px] h-[26px] rounded-full text-white text-xs flex items-center justify-center"
63+ />
5964 ) }
6065 < span className = "font-normal text-[14px] sm:text-[16px]" >
6166 { selectedUser . nickname }
@@ -90,7 +95,11 @@ export default function AssigneeSelect({
9095 className = "w-[26px] h-[26px] rounded-full object-cover"
9196 />
9297 ) : (
93- < div className = "w-[26px] h-[26px] rounded-full bg-gray-300" />
98+ < RandomProfile
99+ userId = { user . userId }
100+ name = { user . nickname }
101+ className = "w-[26px] h-[26px] rounded-full text-white text-xs flex items-center justify-center"
102+ />
94103 ) }
95104 < span className = "font-normal text-black3 sm:text-[16px] text-[14px]" >
96105 { user . nickname }
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export default function TaskModal({
8383 label = "담당자"
8484 value = { formData . assignee }
8585 required
86- users = { members } // ✅ 전체 멤버 데이터 전달
86+ users = { members }
8787 onChange = { ( value ) => handleChange ( "assignee" , value ) }
8888 />
8989 </ div >
You can’t perform that action at this time.
0 commit comments