@@ -17,7 +17,7 @@ import useChatLayout from "./hooks/useChatLayout";
1717import useChatStomp from "./hooks/useChatStomp" ;
1818import useChatActions from "./hooks/useChatActions" ;
1919import { useCampaignProposalStore } from "../../stores/campaign-proposal" ;
20- import CampaignListBottomSheet from "../chat/components/CampaignListBottomSheet " ;
20+ import CampaignProposalBottomSheet from "../chat/components/CampaignProposalBottomSheet " ;
2121import { getMyCollaborations } from "../business/calendar/api/calendar" ;
2222
2323type Props = {
@@ -178,6 +178,8 @@ export default function ChattingRoom({ roomId }: Props) {
178178 >
179179 < div className = "w-full" >
180180 < div className = "w-full space-y-2" >
181+
182+ { /* 채팅마다 나오는 말풍선 (Bubble) */ }
181183 { messages . map ( ( m , idx ) => {
182184 const isMe = m . senderType === "USER" && m . senderId === myUserId ;
183185 const { dateText, timeText } = formatKoreanDateTime ( m . createdAt ) ;
@@ -229,14 +231,16 @@ export default function ChattingRoom({ roomId }: Props) {
229231 height = { sheetHeight }
230232 />
231233
232- < CampaignListBottomSheet
234+ { /* 캠페인 재 제안하기 버튼 */ }
235+ < CampaignProposalBottomSheet
233236 isOpen = { isCampaignSheetOpen }
234237 onClose = { ( ) => setIsCampaignSheetOpen ( false ) }
238+ brandId = { detail ?. brandId }
235239 onSelect = { ( campaign ) => {
236240 setProposalData ( {
237241 proposalId : campaign . proposalId ,
238242 campaignId : campaign . campaignId ,
239- brandId : campaign . brandId ,
243+ brandId : detail ?. brandId || campaign . brandId ,
240244 campaignTitle : campaign . title ,
241245 campaignDescription : campaign . description ,
242246 rewardAmount : campaign . rewardAmount ,
0 commit comments