Im not saying that sexism and racism had no impact–they very clearly did.
But to say they were the primary motivator for all or even most Trump voters is not supported by the facts.
It would probably be more accurate to say that passive sexism and racism blinded a lot of people to some of the more odious aspects of Trump’s candidacy.