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

Added fetch task list for All task page and left a setUpdate function… #113

Merged
merged 5 commits into from
Oct 26, 2024

Conversation

PeterOu8
Copy link
Collaborator

Implemented the fetch list feature. Reused the fetch function to call all created tasks. Data fetched will be stored in a state and updated when the Effect update state changes.

Copy link

vercel bot commented Oct 16, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
blotz-task-app ⬜️ Ignored (Inspect) Visit Preview Oct 26, 2024 1:07pm

@PeterOu8
Copy link
Collaborator Author

Changed the exported function to uppercase to avoid error and passed in the update in add-item button to avoid unused function error.

blotztask-ui/src/app/task-list/page.tsx Outdated Show resolved Hide resolved
blotztask-ui/src/app/task-list/page.tsx Outdated Show resolved Hide resolved
blotztask-ui/src/app/task-list/components/add-button.tsx Outdated Show resolved Hide resolved
Copy link
Collaborator

@sol-wizard sol-wizard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@PeterOu8 PeterOu8 merged commit da3920c into main Oct 26, 2024
4 checks passed
@PeterOu8 PeterOu8 deleted the fetch_data_from_backend branch October 26, 2024 13:18
@PeterOu8 PeterOu8 self-assigned this Nov 2, 2024
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