File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ interface Message {
17
17
isTypingFinished ?: boolean // Track typing completion per message
18
18
}
19
19
20
- export default function Chat ( ) {
20
+ export function Chat ( ) {
21
21
const [ messages , setMessages ] = useState < Array < Message > > ( [ ] )
22
22
const scrollAreaRef = useRef < HTMLDivElement > ( null )
23
23
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ interface Link {
15
15
to : string ;
16
16
}
17
17
18
- export default function Navbar ( ) {
18
+ export function Navbar ( ) {
19
19
const links : Link [ ] = [
20
20
{
21
21
title : "Home" ,
Original file line number Diff line number Diff line change 1
1
import { useEffect } from 'react' ;
2
2
import { useNavigate } from 'react-router-dom' ;
3
- import Chat from '@/components/Chat/Chat' ;
3
+ import { Chat } from '@/components/Chat/Chat' ;
4
4
5
5
const Home = ( ) => {
6
6
const navigate = useNavigate ( ) ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { HoverBorderGradient } from "@/components/ui/hover-border-gradient" ;
3
3
import Footer from '@/components/Footer/Footer' ;
4
- import Navbar from "@/components/Navbar/Navbar" ;
4
+ import { Navbar } from "@/components/Navbar/Navbar" ;
5
5
import { Hero } from '@/components/Hero/Hero' ;
6
6
import { Cover } from '@/components/ui/cover' ;
7
7
import { useEffect } from 'react' ;
You can’t perform that action at this time.
0 commit comments