diff --git a/Aos/app/src/main/java/com/avengers/nibobnebob/presentation/ui/main/mypage/wishlist/WishRestaurantListFragment.kt b/Aos/app/src/main/java/com/avengers/nibobnebob/presentation/ui/main/mypage/wishlist/WishRestaurantListFragment.kt
index 5de96c0d..9efd5915 100644
--- a/Aos/app/src/main/java/com/avengers/nibobnebob/presentation/ui/main/mypage/wishlist/WishRestaurantListFragment.kt
+++ b/Aos/app/src/main/java/com/avengers/nibobnebob/presentation/ui/main/mypage/wishlist/WishRestaurantListFragment.kt
@@ -13,7 +13,6 @@ import com.avengers.nibobnebob.presentation.ui.customBack
import com.avengers.nibobnebob.presentation.ui.main.MainViewModel
import com.avengers.nibobnebob.presentation.ui.main.mypage.share.MyPageSharedUiEvent
import com.avengers.nibobnebob.presentation.ui.main.mypage.share.MyPageSharedViewModel
-import com.avengers.nibobnebob.presentation.ui.toAddRestaurant
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
@@ -129,4 +128,13 @@ class WishRestaurantListFragment :
navigate(action)
}
+ private fun NavController.toAddRestaurant(restaurantName: String, restaurantId: Int) {
+ val action =
+ WishRestaurantListFragmentDirections.actionWishRestaurantListFragmentToAddMyRestaurantFragment2(
+ restaurantName,
+ restaurantId
+ )
+ navigate(action)
+ }
+
}
\ No newline at end of file
diff --git a/Aos/app/src/main/res/navigation/nav_graph.xml b/Aos/app/src/main/res/navigation/nav_graph.xml
index 4a700c73..4a45ba35 100644
--- a/Aos/app/src/main/res/navigation/nav_graph.xml
+++ b/Aos/app/src/main/res/navigation/nav_graph.xml
@@ -115,6 +115,9 @@
+