Remove hardcoded string

This commit is contained in:
Florian Renaud 2023-04-04 16:21:10 +02:00
parent 9ba4d77bc6
commit 42f30c2a7c

View file

@ -38,7 +38,7 @@ open class CreateRoomRootStateProvider : PreviewParameterProvider<CreateRoomRoot
} }
), ),
aCreateRoomRootState().copy( aCreateRoomRootState().copy(
startDmAction = Async.Failure(Throwable("An error occurred when trying to start a chat")), startDmAction = Async.Failure(Throwable()),
selectUsersState = aMatrixUser().let { selectUsersState = aMatrixUser().let {
aSelectUsersState().copy( aSelectUsersState().copy(
searchQuery = it.id.value, searchQuery = it.id.value,