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

[React] Hook warning fixes #720

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

carllelandtaylor
Copy link
Contributor

@carllelandtaylor carllelandtaylor commented Sep 2, 2024

Fixes various React hook warnings. Not sure if these were causing any problems yet, but some have the potential to in the future, and others are noise that could make more important warnings less visible. This also seemed like a good way to introduce myself to the React code here.

PR fixes: N/A

Changes

  1. "FrontDesk.jsx Line 25:9: The 'checkLoginStatus' function makes the dependencies of useEffect Hook (at line 59) change on every render."
  2. DataTable.jsx: Change == checks to ===

@TanyaStere42
Copy link
Member

@carllelandtaylor this has been sitting as a draft for a while now. Do you want to add any more detail to it or should I go ahead and evaluate it for inclusion in the next release?

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.

2 participants