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

Cannot receive url parameters #409

Closed
bndby opened this issue Dec 6, 2019 · 1 comment
Closed

Cannot receive url parameters #409

bndby opened this issue Dec 6, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@bndby
Copy link

bndby commented Dec 6, 2019

Describe the bug

Try to pass URL parameters (https://docs.botonic.io/tutorials-and-examples/guided-flow#working-with-url-parameters), but receive an empty params

To Reproduce

index.js

...
<Button key={site.id} path={`menu?id=${site.id}`}>
{site.title}
</Button>
...

menu.js

...
render() {
    //
    console.log('Menu', this.context.params);
...

result of console.log():

params: {
e: ""
__proto__: Object
}

What is the expected behaviour?
Url parameters in params

About the environment
node 12
botonic 0.10.0

Did this work in previous versions of botonic?
work fine on 0.9.0

Additional context
Add any other context about the problem here.

@bndby bndby added the bug Something isn't working label Dec 6, 2019
@vanbasten17
Copy link
Contributor

Hi @bndby, thanks for your feedback!
This bug will be fixed in the next Botonic release.
Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants