Skip to content

Commit

Permalink
fix (ai/rsc): update unclosed streamable value console message (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyphilemon committed Jul 8, 2024
1 parent 05a6385 commit 5c1f0bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/many-carrots-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

fix unclosed streamable value console message
2 changes: 1 addition & 1 deletion packages/core/rsc/streamable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function createStreamableValueImpl<T = any, E = any>(initialValue?: T) {
}
warningTimeout = setTimeout(() => {
console.warn(
'The streamable UI has been slow to update. This may be a bug or a performance issue or you forgot to call `.done()`.',
'The streamable value has been slow to update. This may be a bug or a performance issue or you forgot to call `.done()`.',
);
}, DEV_DEFAULT_STREAMABLE_WARNING_TIME);
}
Expand Down

0 comments on commit 5c1f0bd

Please sign in to comment.