diff --git a/packages/botonic-react/src/webchat/webchat.jsx b/packages/botonic-react/src/webchat/webchat.jsx index 432130e17..528463a60 100644 --- a/packages/botonic-react/src/webchat/webchat.jsx +++ b/packages/botonic-react/src/webchat/webchat.jsx @@ -409,6 +409,7 @@ export const Webchat = forwardRef((props, ref) => { ) } const coverComponent = getCoverComponent() + const coverComponentProps = props.coverComponent?.props useEffect(() => { if (!coverComponent) return @@ -730,7 +731,7 @@ export const Webchat = forwardRef((props, ref) => { {webchatState.isCoverComponentOpen ? ( ) : ( <>