The radicand cannot be negative, so we must have $x\le 2.$ Also, the denominator is negative for $x\lt 1.$ Thus, you must consider this in the two cases when
(1) $x\lt 1,$ or when
(2) $1\lt x\le 2.$
What you've done (which depends crucially on your first step of squaring both sides) works only with the assumption in case (2), since then we have that $\text {LHS}\ge 0.$ Thus you can square both sides. In the first case, you cannot since then $\text {LHS}\lt 0$ whereas $\text {RHS}\gt 0.$ This is not true in general since, for example, the fact that $-3<1$ does not imply that $9=(-3)^2<1.$
Thus, in the first case you need to approach with a different method. In particular multiply both sides by the negative quantity $x-1$ to get $$3\sqrt{2-x}>2(x-1),$$ which is obviously true for any $x<1,$ since then $\text {LHS}\gt 0$ and $\text {RHS}\le 0.$ Thus the solution in this case is $$(-\infty,1),$$ as wanted.