Skip to content

Commit

Permalink
fix viewmodel missing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhiraj40 committed Jan 18, 2024
1 parent 7bfd55e commit ea27a2b
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,18 @@ class SolwaveViewModel(
private val completeEvents: CompleteEvents,
private val isConnected: Boolean,
) : ViewModel() {
private val _state =
mutableStateOf(
SolwaveState(
transactionParams =
TransactionParams(
data =
TransactionPayload(
transaction = transaction,
),
),
),
)
val state: State<SolwaveState> = _state
private var solana: Solana = Solana(HttpNetworkingRouter(RPCEndpoint.devnetSolana))

Expand Down

0 comments on commit ea27a2b

Please sign in to comment.