We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c545abc commit 80a33ecCopy full SHA for 80a33ec
client/src/components/Chat/chat.tsx
@@ -17,7 +17,7 @@ interface Message {
17
isTypingFinished?: boolean // Track typing completion per message
18
}
19
20
-export function Chat() {
+export const Chat: React.FC = () => {
21
const [messages, setMessages] = useState<Array<Message>>([])
22
const scrollAreaRef = useRef<HTMLDivElement>(null)
23
client/src/components/Navbar/navbar.tsx
@@ -15,7 +15,7 @@ interface Link {
15
to: string;
16
-export function Navbar() {
+export const Navbar: React.FC = () => {
const links: Link[] = [
{
title: "Home",
0 commit comments