Preview Crashes

NavigationLink(destination: ProfilePhotoSelectorView(), isActive: $viewModel.didAuthenticateUser, label: { }).

Using this logic Can someone help me out with what I am doing wrong?

Thanks.

Preview Crashes
 
 
Q