No, this is not fine and must be corrected.
Code Violation: NEC 310.15(B)(1) requires conductors to be sized appropriately for the overcurrent device. More critically, NEC 110.14(D) and the breaker manufacturer's listing (Square D Homeline) prohibit connecting two conductors under a single screw unless the terminal is specifically rated for dual-lug operation — which standard Homeline breakers are not.
Safety Risk:
- Loose Connection: Even if tightened, two wires under one screw can create an unreliable connection, leading to arcing, overheating, or fire.
- Insulation Damage: The wires may rub against each other or the screw, degrading insulation over time.
- Breaker Trip Issues: Uneven current sharing can cause premature wear or failure to trip under overload.
Immediate Action Required:
- Turn off the breaker.
- Install a new 20A breaker (if space allows) or use a listed tandem/dual-slot breaker compatible with Homeline panels.
- If no space, consult a licensed electrician to add a subpanel or rearrange circuits safely.
Do not leave as-is. This setup is a fire hazard and a code violation. A licensed electrician should evaluate the panel layout and correct the installation properly.