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

A day with non appointment slots causes an exception #61

Open
jamesjuett opened this issue Jun 21, 2020 · 0 comments
Open

A day with non appointment slots causes an exception #61

jamesjuett opened this issue Jun 21, 2020 · 0 comments

Comments

@jamesjuett
Copy link
Owner

Current workaround is to have one random appointment slot somewhere on every day. This is definitely not sustainable in the long-term, and should be easy to fix. There's just some undefined errors to track down, and typescript should be helpful. I think the problem results from somewhere that we assume an array is non-empty and then grab the first element. This first element should be given a type that indicates it is possibly undefined.

jamesjuett added a commit that referenced this issue Aug 26, 2020
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

No branches or pull requests

1 participant