@@ -40,7 +40,6 @@ import AssetUploadModal from "@/components/AssetUploadModal";
40
40
import { AssetData } from "@/interfaces/assets" ;
41
41
import AssetViewer from "@/components/AssetViewer" ;
42
42
import Tooltip from "@/components/ui/Tooltip" ;
43
- import ChatBox from "@/components/ChatBox" ;
44
43
import { BASE_STORAGE_URL } from "@/constants" ;
45
44
import PageLoader from "@/components/ui/PageLoader" ;
46
45
import toast from "react-hot-toast" ;
@@ -71,10 +70,6 @@ export default function Project() {
71
70
const [ uploadedFiles , setUploadedFiles ] = useState < [ string , Date ] [ ] > ( [ ] ) ;
72
71
const [ openUploadModal , setOpenUploadModal ] = useState < boolean > ( false ) ;
73
72
const scrollRef = useRef < HTMLDivElement > ( null ) ;
74
- const [ messages , setMessages ] = useState <
75
- Array < { sender : string ; text : string ; timestamp : Date } >
76
- > ( [ ] ) ;
77
- const [ chatEnabled , setChatEnabled ] = useState < boolean > ( false ) ;
78
73
const [ processType , setProcessType ] = useState < string | null > ( null ) ;
79
74
const { ref, inView } = useInView ( ) ;
80
75
@@ -136,7 +131,6 @@ export default function Project() {
136
131
const projectTabs = [
137
132
{ id : "assets" , label : "Docs" } ,
138
133
{ id : "processes" , label : "Processes" } ,
139
- { id : "chat" , label : "Chat" , badge : "beta" } ,
140
134
] ;
141
135
142
136
const breadcrumbItems = [
@@ -441,15 +435,6 @@ export default function Project() {
441
435
{ activeTab === "processes" && (
442
436
< ProcessesList projectId = { project ?. id } />
443
437
) }
444
- { activeTab == "chat" && (
445
- < ChatBox
446
- project_id = { project ?. id }
447
- messages = { messages }
448
- setMessages = { setMessages }
449
- chatEnabled = { chatEnabled }
450
- setChatEnabled = { setChatEnabled }
451
- />
452
- ) }
453
438
454
439
< Drawer
455
440
isOpen = { currentAssetPreview !== null }
0 commit comments