-
Notifications
You must be signed in to change notification settings - Fork 83
feat(astro): add "Download lesson as zip" button #415
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
Conversation
|
623f32c
to
79c37f7
Compare
79c37f7
to
1b5daef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As always fantastic work on this! 🤩 Love the onClick
handler at the module level 🤌
Only minor feedback!
if (!lesson) { | ||
throw new Error('Missing lesson'); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I suppose we are throwing here because this can only happen in development if there's a bug? 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only to make Typescript happy 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!! 🤩
Uh oh!
There was an error while loading. Please reload this page.