Skip to content

Commit

Permalink
rebase main
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnny619 committed Jan 13, 2025
1 parent 3b4af1a commit 2e77f67
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lib/route/routes.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:cogo/common/navigator/view/bottom_navigation_bar.dart';
import 'package:cogo/common/navigator/bottom_navigation_bar.dart';
import 'package:cogo/constants/paths.dart';
import 'package:cogo/features/auth/login/login_screen.dart';
import 'package:cogo/features/auth/signup/agreement/agreement_screen.dart';
Expand Down Expand Up @@ -34,8 +34,6 @@ import 'package:cogo/features/splash_screen.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';



final AppRouter = GoRouter(
initialLocation: Paths.splash,
routes: [
Expand All @@ -46,10 +44,10 @@ final AppRouter = GoRouter(
child: SplashScreen(),
)),
GoRoute(
path: Paths.login,
pageBuilder: (context, state) => MaterialPage(
key: state.pageKey,
child: const LoginScreen(),
path: Paths.login,
pageBuilder: (context, state) => MaterialPage(
key: state.pageKey,
child: const LoginScreen(),
)),

///회원가입
Expand Down

0 comments on commit 2e77f67

Please sign in to comment.