How to handle validation errors in Laravel, Inertia, and React