Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/routes/business/components/MatchingCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function MatchingCard({
const chatId = brandUserId ?? brandId;
if (!Number.isFinite(chatId) || chatId <= 0) return;
navigate(`/rooms/brand/${chatId}`);
};
};

return (
<div className="flex items-center gap-4 p-4 bg-white rounded-xl shadow-sm border border-bluegray-1">
Expand Down
4 changes: 2 additions & 2 deletions app/routes/room/components/Bubbles/AttachmentMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ export default function AttachmentMessage({
</div>

<div className="min-w-0 flex flex-col">
<div className="text-[14px] leading-[20px] style-Medium text-[#404252] truncate">
<div className="text-[14px] leading-[20px] text-medium text-[#404252] truncate">
{fileName}
</div>
<div className="text-[12px] leading-[16px] text-[#9B9BA1] truncate">
<div className="text-[12px] leading-[16px] text-medium text-[#9B9BA1] truncate">
{ext}
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion app/routes/room/components/Bubbles/ProposalMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -208,7 +209,7 @@ export default function ProposalMessage(props: Props) {
<div className="min-w-0 text-[14px] leading-[20px] style-Medium text-[#404252] truncate">
{campaignName}
</div>
<ArrowButton onClick={() => navigate(`/business/proposal?type=sent&proposalId=${proposalId}`)} />
<ArrowButton onClick={() => navigate(`/business/campaign/${applyId}?type=applied-campaign`)} />
</div>
</div>
</div>
Expand Down