Fix routing

This commit is contained in:
problematicconsumer
2023-07-28 00:03:01 +03:30
parent 2bfd954946
commit 14369d0a03
5 changed files with 44 additions and 35 deletions

View File

@@ -18,7 +18,7 @@ GoRouter router(RouterRef ref) {
},
);
final initialLink = deepLink.read();
String initialLocation = HomeRoute.path;
String initialLocation = const HomeRoute().location;
if (initialLink case AsyncData(value: final link?)) {
initialLocation = AddProfileRoute(url: link.url).location;
}