forked from yaso_meth/mih-project
update router to user BusinessUpdateArguments for /business-profile
This commit is contained in:
@@ -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,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user