diff --git a/apps/web/src/portal/sections/Communication.tsx b/apps/web/src/portal/sections/Communication.tsx index 6261aac..50450fe 100644 --- a/apps/web/src/portal/sections/Communication.tsx +++ b/apps/web/src/portal/sections/Communication.tsx @@ -58,7 +58,7 @@ interface MessageThreadProps { readOnly: boolean; } -function MessageThread({ sessionId, readOnly }: MessageThreadProps) { +function MessageThread({ sessionId, readOnly: _readOnly }: MessageThreadProps) { const [businessName, setBusinessName] = useState("Business"); const { conversation, loading: convLoading, error: convError } = useConversation(sessionId); @@ -144,7 +144,6 @@ function MessageThread({ sessionId, readOnly }: MessageThreadProps) { ) : ( messages.map((msg: ApiMessage) => { const sender = msg.direction === "inbound" ? "customer" : "business"; - const senderName = sender === "customer" ? "You" : businessName; return (