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

Ensure 'upcomingLength' is a number in 'useSchedules' #3709

Open
coderabbitai bot opened this issue Oct 22, 2024 · 0 comments
Open

Ensure 'upcomingLength' is a number in 'useSchedules' #3709

coderabbitai bot opened this issue Oct 22, 2024 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 22, 2024

An issue was identified where the upcomingLength value retrieved from useSyncedPref in the useSchedules hook is likely a string, but the getStatus function expects a number. This could lead to incorrect behavior or runtime errors due to type mismatches.

This issue was noted in PR #3685 by @coderabbitai[bot].

PR URL: #3685
Comment URL: #3685 (comment)

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