Skip to content

Mike sandbox#20

Open
MLevey92 wants to merge 2 commits intomainfrom
mike_sandbox
Open

Mike sandbox#20
MLevey92 wants to merge 2 commits intomainfrom
mike_sandbox

Conversation

@MLevey92
Copy link
Copy Markdown
Collaborator

@MLevey92 MLevey92 commented Mar 6, 2024

-wrapped get token data in an if(loggedIn) block so that non-logins can still view homepage

-created new state: voteFeedback
updates on poll submit
informs user if they need to login to vote, or if they have already voted

-modified poll button onClick
now depends on if the user is loggedIn

-reloads page on successful vote

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant