From 376f3240441495778b7e4413bbc51824eb55aa4c Mon Sep 17 00:00:00 2001 From: yeahsel Date: Fri, 20 Feb 2026 10:09:36 +0900 Subject: [PATCH] =?UTF-8?q?UI=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/routes/business/components/MatchingCard.tsx | 2 +- app/routes/room/components/Bubbles/AttachmentMessage.tsx | 4 ++-- app/routes/room/components/Bubbles/ProposalMessage.tsx | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/routes/business/components/MatchingCard.tsx b/app/routes/business/components/MatchingCard.tsx index f69de94..8aba7f9 100644 --- a/app/routes/business/components/MatchingCard.tsx +++ b/app/routes/business/components/MatchingCard.tsx @@ -48,7 +48,7 @@ export default function MatchingCard({ const chatId = brandUserId ?? brandId; if (!Number.isFinite(chatId) || chatId <= 0) return; navigate(`/rooms/brand/${chatId}`); - }; + }; return (
diff --git a/app/routes/room/components/Bubbles/AttachmentMessage.tsx b/app/routes/room/components/Bubbles/AttachmentMessage.tsx index bff7ac3..1eacbd1 100644 --- a/app/routes/room/components/Bubbles/AttachmentMessage.tsx +++ b/app/routes/room/components/Bubbles/AttachmentMessage.tsx @@ -81,10 +81,10 @@ export default function AttachmentMessage({
-
+
{fileName}
-
+
{ext}
diff --git a/app/routes/room/components/Bubbles/ProposalMessage.tsx b/app/routes/room/components/Bubbles/ProposalMessage.tsx index 61c40c9..cae8fa9 100644 --- a/app/routes/room/components/Bubbles/ProposalMessage.tsx +++ b/app/routes/room/components/Bubbles/ProposalMessage.tsx @@ -43,6 +43,7 @@ export default function ProposalMessage(props: Props) { const proposalId = kind === "APPLY_CARD" ? (props as ApplyCardProps).applyId : (props as ProposalCardProps).proposalId; const timeText = createdAt ?? ""; const navigate = useNavigate(); + const applyId = (props as ApplyCardProps).applyId; const [isProcessing, setIsProcessing] = useState(false); const [actionDone, setActionDone] = useState<"accepted" | "rejected" | null>(null); @@ -208,7 +209,7 @@ export default function ProposalMessage(props: Props) {
{campaignName}
- navigate(`/business/proposal?type=sent&proposalId=${proposalId}`)} /> + navigate(`/business/campaign/${applyId}?type=applied-campaign`)} />