How do you guys deal with toxic people in tech, especially when they are your seniors or you work with them everyday?
We are a small team and the senior I have is an extremely shit person. We decide something while design discussions, and product discussion but he changes his mind and asks to completely revamp the solution after it's implemented. Extremely close-minded to new or different ideas or different ways of doing things. Also frequently insults people on the call.
I know one solution is to leave the company but that can't always be the case and when the team is small, sometimes these people become unavoidable. So looking for ideas on how other people deal with toxic peers/seniors in their workplace.