In this lesson, we will incorporate an edit form into the vehicle's CRUD operation. This form will be similar to the create form, except it will have a different URL /vehicles/:id/edit. The data of a specific vehicle will be retrieved from the API using the :id URL parameter.

- Update the
src/hooks/useVehicle.jsxhook with the following content...
Hello, Just out of curiosity, why not use just one component to add or edit a vehicle?
Personal preference of separating them, if the logic of create and edit becomes different (it usually does).
From the Laravel API Lesson in connection with this:
description wasnt added to $fillable for Vehicle Model if im not mistaken. It also needs to be added to the VehicleResource
i don't even remember being added to the database, so i'm just ignoring it rather than updating the API.
The only change i made was validating 'remember_me' field in login logic.