This has been proven to be untrue.
The risk of developing non-melanoma skin cancer was 11-46 times lower than the risks of being exposed to natural sunlight. Nail lamps are actually safer than both natural sunlight and sunbeds.