Closed brianRingler closed 11 months ago
Also, forgot to checkout a branch and then do a pull request. I just pushed it from main. Will correct that habbit.
This is what it looks like: https://time-distance-tracker.vercel.app/trips
. Forget to mention, I added a column in the locations table called location_name
. This is what I pull instead of the full address.
Ok! All good!
I update the
get-trips
route by modifying the query so it now pulls in the location name.I then had modify
Trip.jsx
based on the new format.:origin_location and destination_location now key to an object
Update to trips:
{tripData.origin_location.location_name}
|