Skip to content

Commit 5c1f0bd

Browse files
fix (ai/rsc): update unclosed streamable value console message (#2190)
1 parent 05a6385 commit 5c1f0bd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎.changeset/many-carrots-divide.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': patch
3+
---
4+
5+
fix unclosed streamable value console message

‎packages/core/rsc/streamable.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ function createStreamableValueImpl<T = any, E = any>(initialValue?: T) {
306306
}
307307
warningTimeout = setTimeout(() => {
308308
console.warn(
309-
'The streamable UI has been slow to update. This may be a bug or a performance issue or you forgot to call `.done()`.',
309+
'The streamable value has been slow to update. This may be a bug or a performance issue or you forgot to call `.done()`.',
310310
);
311311
}, DEV_DEFAULT_STREAMABLE_WARNING_TIME);
312312
}

0 commit comments

Comments
 (0)