So, the original question was which compound is more basic.
Compound A and Compound B respectively.
My reasoning is that on protonation, Compound B would be more stable than Compound A as well, Compound B is an allylic nitrogen cation. Thus, compound B should be more basic.
Why don't nitrogen cations act similar to carbo cations in this case?
But the given answer is that compound A is more basic, because of being connected to a sp2 hybridized carbon. Another given reason was that the first cation was stabilized by water while the second one wasn't?
Where am I wrong?