Ran across a bug in Android Kotlin with Compose. Kept getting
[Hilt] ViewModel constructor should be annotated with @Inject instead of @AssistedInject.
This is because I was using hilt 2.48.
Upgraded to 2.49 and things work as expected.
dependencies {
implementation("com.google.dagger:hilt-android:2.49")
kapt("com.google.dagger:hilt-android-compiler:2.49")
...