Modify switchConnection
In switchConnection: the transaction must be passed as callback to setState because setState is asynchrounous.
Please register or sign in to comment
In switchConnection: the transaction must be passed as callback to setState because setState is asynchrounous.