dysphoria is certainly a mental illness, transitioning is merely one possible treatment for it (though, pushed as one of the first rather than as one of the last options, which I personally find concerning.)

[deleted]