Skip to content

polish: Reading page delete doesn't show error on failure #27

@TemaDeveloper

Description

@TemaDeveloper

Description

In src/app/(app)/reading/page.tsx, the updateBook function only updates UI if res.ok but doesn't show an error toast on failure. The user gets no feedback when an update silently fails.

Fix

Add else { toast.error("Failed to update") } branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerspolishUX polish and improvements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions