12spd mtb on a direct drive trainer? or just use old road bike?

It’s a 10/50 cassette with a 34 chain ring. I remember that I had to put a distance ring on the H3 that comes with the sram adapter so the position of the cassette is the same as when riding outside.
I don’t do zwift. Just TR in erg. Shifting is fine but I rarely shift anyway.