To clean the code, using uiState rather than storing the data directly in the view model makes the code easier to look at.
To clean the code, using uiState rather than storing the data directly in the view model makes the code easier to look at.