AI or Not, Understand, then Commit
When AI spits something out, you better understand it before you use it.
If you don't...
How will you know if it's the right thing to do?
What are you expecting your code reviewer to do?
How will you answer any questions about the code?
How do you judge if there are any bugs in it?
How do you know if it's not overkill for the solution? Or even unused?
How will you respond when you get paged to deal with a production issue?
How will you trust your own work?
Don't ever commit code you don't understand.
If it's on the edge of your understanding, test it more, document it more, exercise it more. And don't let the AI do that part for you too.
Try more, learn more. There's a price to pay for understanding, and you had best pay it. If you're not careful, AI can rob you of that and create a mess afterward. Do not put code out into the world that you don't understand.