Replacing Dimmer with Switch - Online Examples Don't Match My Setup
Single Pole Switch Diagram

Turn power off at electrical panel by turning off the breaker.
Connect the two black wires as shown.
Connect the ground bare wire to the green screw making a clockwise hook so the ground is nice and secure. And tighten.
When you push the switch in make sure the ground is tuck back out of the way as to avoid any problems from ground faults.
Make sure the switch is in the correct upright position.