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

Recalculate time bar position on prop change #355

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

jackstenglein
Copy link
Contributor

The current time bar position currently does not update if any of its props are changed. This can lead to a confusing state for the user where they change their timezone, and the red bar is now in an incorrect location. This PR fixes that problem.

Additionally, it removes the unused color prop from the CurrentTimeBar component.

@aldabil21 aldabil21 merged commit fd9cab9 into aldabil21:master Apr 21, 2024
2 checks passed
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