diff --git a/src/pages/CustomerChatPage.jsx b/src/pages/CustomerChatPage.jsx index 3277e20..dbf8199 100644 --- a/src/pages/CustomerChatPage.jsx +++ b/src/pages/CustomerChatPage.jsx @@ -1,6 +1,5 @@ import { useEffect, useMemo, useState } from 'react' import { useSearchParams } from 'react-router-dom' -import { FaArrowLeft, FaRotateRight } from 'react-icons/fa6' import { PageHeader, Card, Button, EmptyState, AutocompleteInput } from '../components/ui' import ChatThread from '../components/chat/ChatThread' import { useCustomers } from '../hooks/useCustomers' @@ -64,43 +63,40 @@ export default function CustomerChatPage() {
- - {error && ( -
- {error} - -
- )} - {!error && chats && sorted.length === 0 && } -
- {sorted.map((c) => ( - - ))} + {error && ( +
+ {error} +
- + )} + {!error && chats && sorted.length === 0 && } +
+ {sorted.map((c) => ( + + ))} +
{kunde ? ( - - - {nameOf(kunde)} - - }> - - + <> + + + + + ) : ( )} diff --git a/src/styles/global.css b/src/styles/global.css index ccf8c85..b13e0fd 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1295,9 +1295,6 @@ select.form-control { .text-grey { color: var(--text-2); } .text-red { color: var(--red-fg); } -/* Zaehler der Altliste: .side-count bis P6 (Chat-Liste) */ -.side-count { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; } - /* Neutral: Karte, Raster */ .card { margin-bottom: 16px; background: none; border: 0; border-radius: 0; color: var(--text); } .card-header { padding: 0 0 8px; background: none; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; }