chore(views): improve static analysis in river views