Changing a Dimmer to Single Pole with Three Black and Three White Wires
Pigtail the 2 blacks going to 1 side of the switch to 1 side of the new switch, remove the red wire and connect that black to the other side of the switch,  it is a metal box if metal with the ground screwed to the box mount the switch and you will be good to go.