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: handle case of wrong tweet id, avoid blocking pdf export #549

Merged
merged 1 commit into from Apr 14, 2022

Conversation

twitwi
Copy link
Contributor

@twitwi twitwi commented Apr 14, 2022

This PR shows an error message when the tweet cannot be loaded (createTweet return undefined).
Also, we avoid waiting for the iframe in this case, which was blocking the pdf export in this case.

Solves my last comment to #397

@antfu antfu merged commit 439a8cb into slidevjs:main Apr 14, 2022
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

2 participants