Skip to content

chore: Verify item.id is correctly passed to the frontend #473

Description

@zigzagdev

Parent issue

#475

Overview

Confirm that item.id (matching the primary key of world_heritage_site_images) is included in the API response and surfaces in the WorldHeritageVm view model consumed by HeritageCard.

Checklist

  • API response for the heritage list includes the id field from world_heritage_site_images
  • WorldHeritageVm type definition exposes id: number
  • HeritageCard receives a non-null item.id at runtime (verify via console.log or React DevTools)

Acceptance criteria

item.id in HeritageCard matches the corresponding row's id in world_heritage_site_images

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions