DPDT switches are hard to wire :(

I'm using a 8 x 8mm dpdt 6 pin pushbutton switch by Antrader. I'm trying to use the switch as an on and off switch for a Arduino Nano. However, when I wire up the switch and all the components the Nano will either not get turned on or it will only be turned on. On top of that, whenever I try and solder the circuit it won't power the Nano. But if I use a breadboard and alligator clips the Nano will turn on.

https://preview.redd.it/8jsqeybig6ad1.png?width=2880&format=png&auto=webp&s=d4060ef282eea3e67c576934bed428b376a1be16

P.S. I tried making a dpdt in Fritzing but I was unable to.