Compose deep link is causing my view model data to be empty
I am working on a project that uses jetpack compose and whenever i load a composable through deep links, any data that gets loaded quickly appears then goes missing.
my deep link is pretty straight forward
composable(
DestinationScreen.Screen.route + "/{index}",
arguments = listOf(navArgument("index") { type = NavType.StringType }),
deepLinks = listOf(navDeepLink { uriPattern ="pattern/job/{index}" })
) { entry ->...