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

Error after refresh page with appended argument. #262

Open
bthemono opened this issue Mar 2, 2022 · 1 comment
Open

Error after refresh page with appended argument. #262

bthemono opened this issue Mar 2, 2022 · 1 comment

Comments

@bthemono
Copy link

bthemono commented Mar 2, 2022

Hi, i have a problem refreshing a web page with an argument appended.
The web page crashes with the following error : "Expected a value of type 'Handler', but got one of type 'Null'".
How i can refresh a page with 1 argument appended?
Thank you very much.

Here is the code:

AppRouter.router.navigateTo(context, "/edit/$idVolunteer", transition: TransitionType.none);

router.define("edit/:idVolunteer", handler: editVolunteer, transitionType: TransitionType.none);
@bthemono
Copy link
Author

bthemono commented Mar 2, 2022

Thank you, just resolved. The problem was a "/" more in the url.

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

No branches or pull requests

1 participant