From 11989b2a00c629da529e473a10ca3578f63c8d1e Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Mon, 22 May 2023 13:24:09 +0200 Subject: [PATCH] fix mobile header and logo color --- app/chat-list.tsx | 2 +- components/ui/nextchat-logo.tsx | 55 +++++++++++++++++---------------- 2 files changed, 30 insertions(+), 27 deletions(-) diff --git a/app/chat-list.tsx b/app/chat-list.tsx index d344b5b..22ddbc4 100644 --- a/app/chat-list.tsx +++ b/app/chat-list.tsx @@ -13,7 +13,7 @@ export interface ChatList { export function ChatList({ messages }: ChatList) { return (
-
+
diff --git a/components/ui/nextchat-logo.tsx b/components/ui/nextchat-logo.tsx index 75e7466..37266a5 100644 --- a/components/ui/nextchat-logo.tsx +++ b/components/ui/nextchat-logo.tsx @@ -1,4 +1,7 @@ +import { useId } from "react"; + export function NextChatLogo(props: JSX.IntrinsicElements["svg"]) { + const id = useId(); return ( + + + + + + + + + + - - - - - - - - - - ); }