Skip to content

Commit 9720e3c

Browse files
committed
Fallback string not necessary
1 parent a57941c commit 9720e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/orders/WooPosOrdersViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class WooPosOrdersViewModel @Inject constructor(
3636
_state.update {
3737
it.copy(
3838
isLoading = false,
39-
error = result.message ?: "Unknown error"
39+
error = result.message
4040
)
4141
}
4242
}

0 commit comments

Comments
 (0)