* fix(UI): #250 better chat left side bar Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai>
19 lines
483 B
TypeScript
19 lines
483 B
TypeScript
import React, { Fragment } from "react";
|
|
import SidebarFooter from "../SidebarFooter";
|
|
import SidebarHeader from "../SidebarHeader";
|
|
import SidebarMenu from "../SidebarMenu";
|
|
import HistoryList from "../HistoryList";
|
|
import NewChatButton from "../NewChatButton";
|
|
|
|
const LeftContainer: React.FC = () => (
|
|
<Fragment>
|
|
<SidebarHeader />
|
|
<NewChatButton />
|
|
<HistoryList />
|
|
<SidebarMenu />
|
|
<SidebarFooter />
|
|
</Fragment>
|
|
);
|
|
|
|
export default React.memo(LeftContainer);
|