Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refreshing a channel show page disables initiator and coutnerpart abilities #9

Open
Amit-Weiss opened this issue Oct 30, 2018 · 0 comments
Labels
bug Something isn't working difficulty: medium good first issue Good for newcomers

Comments

@Amit-Weiss
Copy link
Collaborator

Whenever you view a channel and look into its "show" page (that contains all the details about a channel) the called checks the address of the caller to see whether it is the initiator or the counterpart of the channel.
After this check, the buttons that appear correspond to the check result. After refreshing the page, this check is not performed again and the user will appear as "other" to the contract.
A possible reason for that is that the code for checking the user is located inside getInitialProps function.

@Amit-Weiss Amit-Weiss added bug Something isn't working good first issue Good for newcomers difficulty: medium labels Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working difficulty: medium good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant