I followed the official guide to create viewModel instance and it works perfectly. However, when there is any viewModel in the @composable
viewModel
@composable