It isn't clear from your photos whether the IEC 230 V socket is connected to anything or not, but even if it is not connected to the fan circuit you should still remove it completely. Leaving the socket in place with the 230 V AC label next to it is just inviting someone to plug it into the mains supply.

Are you using the IEC 230 V connector to connect to the 12 V DC supply ? That is absolutely forbidden from a safety aspect. Someone could plug it in to the 230 V AC and electrocute themselves, especially with the bare wire connections inside the case. Please don't leave it in this condition. The 12 V connector must be a type which is incompatible with normal mains connecting cords.

I am sorry that I forgot to mention about the safety precautions. When I made it I had insulated all the bare wires and I removed the insulation to make the viewer more clear. I kept the IEC 230 V socket to make it look like a real SMPS.