simple get inventory
This commit is contained in:
@@ -6,6 +6,9 @@ import { useRef } from "react";
|
||||
|
||||
import "./chatWidget.css"
|
||||
|
||||
|
||||
//FIXME: split element to avoid re render (convcard are being re rendered every time something is typed in the creation )
|
||||
//TODO: split into multiple component
|
||||
export default function ChatWidget({convlist}) {
|
||||
const {
|
||||
createConversation,
|
||||
@@ -77,11 +80,7 @@ return (
|
||||
disabled={!activeConvId}
|
||||
/>
|
||||
|
||||
{showCreateConv && (
|
||||
<CreateConvMenu
|
||||
onSend={createConversation}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user