Do you think Russia would have thought twice about annexing it if they (the Ukraine) were still the world’s third-largest atomic power?
Unless I'm missing something pretty significant here Ukraine was never a nuclear power at any point in time.
There were a load of nukes left on their territory after the break up of the USSR but they never actually had the ability to use them as Moscow still had the codes/big red button or whatever.