Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/setup-page-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ async function __getContext(storyId: string): Promise<any> {
function isServerComponentError(error: unknown) {
return (
typeof error === 'string' &&
(error.includes('A component was suspended by an uncached promise.') ||
(error.includes('Only Server Components can be async at the moment.') ||
error.includes('A component was suspended by an uncached promise.') ||
error.includes('async/await is not yet supported in Client Components'))
);
}
Expand Down