Skip to content

Make MatchDetails page standalone #2

@trevormccasland

Description

@trevormccasland

Currently the MatchDetails[1] component does not load any information from an API, it uses react props to load the information. This makes it impossible to share a link to a Match Details page since the Landing page must be loaded first to pass the match info. We should enable users to share the match details page. This may require a new endpoint in dotalytics-api to load a single match by ID, or we could reuse the getMatches API and filter down to the single match ID passed to the MatchDetails component.

[1] https://github.com/trevormccasland/dotalytics/blob/main/src/components/MatchDetails.tsx

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