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

Fix typo in phoenix components section #1004

Conversation

belgoros
Copy link
Contributor

A tiny typo in the name of Phoenix.Component

- the name of the action in the CounterController should be :count instead of :home
- when passing a value via query parameters, it fails to be updated because the type of the @counter is of type String
- add the helper method to the CounterHTML component to convert the String to Integer
@BrooklinJazz BrooklinJazz merged commit df9bfde into DockYard-Academy:main Oct 12, 2023
1 of 2 checks passed
@BrooklinJazz
Copy link
Collaborator

I'll fix the failing CI after merging all PRs. Thank you for your contribution! Apologies for the delayed review.

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.

2 participants