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).