Skip to content

Conversation

@jamesrweb
Copy link
Member

This PR allows a fallback UI to be rendered if the sketch is ever undefined rather than purely returning null and thus rendering nothing although this will still be the default behaviour if no fallback is provided.

@jamesrweb jamesrweb requested a review from yevdyko April 30, 2023 23:39
@jamesrweb jamesrweb self-assigned this Apr 30, 2023
Copy link
Contributor

@yevdyko yevdyko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good, but I was wondering if this option should be described in README. @jamesrweb WDYT?

@jamesrweb
Copy link
Member Author

The code looks good, but I was wondering if this option should be described in README. @jamesrweb WDYT?

True. That's a good point, I'll update the docs and push later 🙏🏻

@jamesrweb jamesrweb requested a review from yevdyko May 2, 2023 19:37
@jamesrweb jamesrweb enabled auto-merge May 2, 2023 19:44
Copy link
Contributor

@yevdyko yevdyko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamesrweb Thanks for the feature and documentation!

@jamesrweb jamesrweb merged commit ea47b25 into master May 2, 2023
@jamesrweb jamesrweb deleted the fallback-ui branch May 2, 2023 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants