That’s not serious damage, but how it’s repaired is the most important issue.
Ask for pictures of the car before it was repaired so you can see the severity of the damage. Then ask for a list of parts that were replaced. Make sure you get a warranty on the work that was performed as part of the purchase and not an extra cost.