Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Problem that Code block is not displayed if even one import fails. #506

Merged

Conversation

mosugi
Copy link

@mosugi mosugi commented May 19, 2023

Description

Promise.all() in Code block fails if even one import process fails, resulting in #477 The problem occurs.

By using Promise.allSettled(), the Code block will be displayed even if it partially fails.

Notion Test Page ID

https://transitive-bs.notion.site/Code-Blocks-0c322c33381c49bca5083a451c334c39

@vercel
Copy link

vercel bot commented May 19, 2023

Someone is attempting to deploy a commit to the Saasify Team on Vercel.

A member of the Team first needs to authorize it.

@deevus
Copy link

deevus commented Jun 8, 2023

@transitive-bullshit Is this repo still active? Could you add some maintainers?

@deevus
Copy link

deevus commented Jun 8, 2023

@mosugi Thanks for this. I noticed the same problem and have cherry-picked your commit into my repo.

@transitive-bullshit transitive-bullshit merged commit 7193796 into transitive-bullshit:main Jun 8, 2023
2 of 3 checks passed
@mosugi mosugi deleted the fix-code-not-displayed branch June 8, 2023 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants