update router to user BusinessUpdateArguments for /business-profile
This commit is contained in:
parent
92c8220a65
commit
529d6c32fe
1 changed files with 2 additions and 2 deletions
|
|
@ -89,10 +89,10 @@ class RouteGenerator {
|
|||
return _errorRoute();
|
||||
|
||||
case '/business-profile':
|
||||
if (args is AppUser) {
|
||||
if (args is BusinessUpdateArguments) {
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => ProfileBusinessUpdate(
|
||||
signedInUser: args,
|
||||
arguments: args,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue