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

conditional datePurchased #26

Merged
merged 1 commit into from
Sep 10, 2024
Merged

conditional datePurchased #26

merged 1 commit into from
Sep 10, 2024

Conversation

Wyna-7
Copy link
Collaborator

@Wyna-7 Wyna-7 commented Sep 8, 2024

Description

Added a condition to datePurchased in the listItem useEffect to handle cases where it is null.

Related Issue

NA

Acceptance Criteria

Fixes production bug

Type of Changes

bug fix

Updates

Before

NA

After

NA

Testing Steps / QA Criteria

Error when loading a list with an item that has no datePurchased value should not happen.

Copy link

github-actions bot commented Sep 8, 2024

Visit the preview URL for this PR (updated for commit 6d76fb8):

https://tcl-79-smart-shopping-list--pr26-hotfix-listitem-bug-7k72q9xa.web.app

(expires Sun, 15 Sep 2024 15:59:23 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d91d9ddbda780208241c52942f544acf8e81407a

@Wyna-7 Wyna-7 merged commit 7a24d2f into main Sep 10, 2024
3 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.

2 participants