@superinterface/react 5.3.0-beta.0 → 5.3.0-beta.1
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -47467,7 +47467,7 @@ var useMessageAudio = function(_ref2) {
|
|
|
47467
47467
|
isPlaying
|
|
47468
47468
|
]);
|
|
47469
47469
|
var unplayedMessageSentences = (0, import_react67.useMemo)(function() {
|
|
47470
|
-
var playableMessages = messagesProps.messages.filter(function(message) {
|
|
47470
|
+
var playableMessages = _to_consumable_array(messagesProps.messages).reverse().filter(function(message) {
|
|
47471
47471
|
if (message.role !== "assistant") return false;
|
|
47472
47472
|
if (stoppedMessageIds.includes(message.id)) return false;
|
|
47473
47473
|
return true;
|