-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetch and display single proposal by ID
This commit implements the functionality to fetch and display a single proposal by its ID in the ProposalViewModel. - It introduces a new function `fetchProposalById` to retrieve a proposal based on its ID. - The UI state is updated to handle loading, error, and success states. - Upon successful retrieval, the proposal details are parsed and displayed. - Logging is added for debugging and tracking the response and potential errors .
- Loading branch information
1 parent
df604e4
commit e8624d3
Showing
1 changed file
with
48 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters