File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ import {
19
19
SidebarRail ,
20
20
SidebarFooter ,
21
21
} from './ui/sidebar' ;
22
- import { cn } from '@/lib/utils' ;
23
22
import { ProjectContext } from './chat/code-engine/project-context' ;
24
- import { useRouter } from 'next/navigation' ;
25
23
26
24
interface SidebarProps {
27
25
setIsModalOpen : ( value : boolean ) => void ; // Parent setter to update collapse state
@@ -41,9 +39,6 @@ export function ChatSideBar({
41
39
setIsModalOpen,
42
40
isCollapsed,
43
41
setIsCollapsed,
44
- isMobile,
45
- chatListUpdated,
46
- setChatListUpdated,
47
42
chats,
48
43
loading,
49
44
error,
@@ -60,7 +55,6 @@ export function ChatSideBar({
60
55
const event = new Event ( EventEnum . NEW_CHAT ) ;
61
56
window . dispatchEvent ( event ) ;
62
57
} , [ ] ) ;
63
- const router = useRouter ( ) ;
64
58
65
59
if ( loading ) return < SidebarSkeleton /> ;
66
60
if ( error ) {
You can’t perform that action at this time.
0 commit comments