@landtrustinc/design-system 1.2.7 → 1.2.8-beta.0
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5517,7 +5517,7 @@ var ChatWidget = ({
|
|
|
5517
5517
|
el.scrollTo({ top: el.scrollHeight, behavior: "smooth" });
|
|
5518
5518
|
savedScrollPosition.current = el.scrollHeight;
|
|
5519
5519
|
}
|
|
5520
|
-
}, [messages, isThinking, isExpanded]);
|
|
5520
|
+
}, [messages, isThinking, isExpanded, suggestedPrompts]);
|
|
5521
5521
|
const messagesToRender = messages.length === 0 ? emptyState : messages;
|
|
5522
5522
|
const renderedMessages = (0, import_react30.useMemo)(
|
|
5523
5523
|
() => messagesToRender.map((element, index) => {
|