Skip to content
This repository was archived by the owner on May 2, 2026. It is now read-only.
This repository was archived by the owner on May 2, 2026. It is now read-only.

Modify Main page to go to result page if user already voted #18

Description

@RebeccaSyria

If a user has already voted, they should be able to click a button for "view results" instead of "join vote".
This will probably involve modifying the pollList sent from the backend to include a "userVoted" boolean for each poll for that user, then we can use that to display either "view results" or "join vote"
View results page itself is issue #16, so this should be done after that, or use a dummy page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions