diff --git a/web/components/kefu/chat-shell.tsx b/web/components/kefu/chat-shell.tsx index 7a2dbbd..2aab1a0 100644 --- a/web/components/kefu/chat-shell.tsx +++ b/web/components/kefu/chat-shell.tsx @@ -75,7 +75,6 @@ export function KefuChatShell() { const [isMaximized, setIsMaximized] = useState(false) const [isCloseDialogOpen, setIsCloseDialogOpen] = useState(false) const [isClosingConversation, setIsClosingConversation] = useState(false) - const [showHostActions, setShowHostActions] = useState(false) const { title, @@ -142,9 +141,6 @@ export function KefuChatShell() { useEffect(() => { return bindKefuHostBridge({ - onInit: () => { - setShowHostActions(true) - }, onOpen: () => { setIsOpen(true) setIsVisible(true) @@ -265,36 +261,32 @@ export function KefuChatShell() { > - {showHostActions ? ( - - ) : null} - {showHostActions ? ( - - ) : null} + +