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

Feature/cypress #25

Merged
merged 3 commits into from
Feb 13, 2024
Merged

Feature/cypress #25

merged 3 commits into from
Feb 13, 2024

Conversation

Pma913
Copy link
Owner

@Pma913 Pma913 commented Feb 13, 2024

The last merge produced problems for cypress testing. This was the conditional rendering for the sessionStorage vs. the data loader. I have updated the lines of code to be located before the useState hook and represented by variables then use the or operator to conditionally set the state. This provides a more efficient operation of the program and eliminates issues with cypress testing.

… before defining useState hook then conditionally setting state with savedFact or randFact if savedFact is null
Copy link

vercel bot commented Feb 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cats-meow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2024 10:23pm

… request since my router object handles all errors by default
@Pma913 Pma913 merged commit e0c8628 into main Feb 13, 2024
5 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.

1 participant