@anker-in/campaign-ui 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -172,7 +172,8 @@ const Chat = (props: ChatProps) => {
|
|
|
172
172
|
<Suggestions currentSuggestions={currentSuggestions} />
|
|
173
173
|
</Messages>
|
|
174
174
|
)}
|
|
175
|
-
Button={
|
|
175
|
+
Button={props => {
|
|
176
|
+
const { open, setOpen: setOpenDefault } = props as any
|
|
176
177
|
const Button = popup?.Button || DefaultButton
|
|
177
178
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
178
179
|
useEffect(() => {
|