View Code? Open in Web Editor
NEW
Team project Travelog (Eloy, Anastasia, Ivan, David)
Home Page: https://www.youtube.com/watch?v=e1QNfnfcb8w
HTML 0.60%
CSS 19.92%
TypeScript 58.27%
Less 20.97%
Shell 0.24%
travelog's Introduction
- ๐ Hi, Iโm David ๐ฌ๐ง ๐ช๐บ
- ๐ฅ Fullstack software developer (Node, JS, React)
- โ๏ธ Airline pilot
- ๐ซ LinkedIn profile at http://djryan.eu/about
travelog's People
Stargazers
Watchers
travelog's Issues
Could we move the trip delete button from PersonalTrip.tsx (where it displays on the books)... to ViewTrip.tsx?
Unhandled Rejection (TypeError): Cannot destructure property 'plans' of '(intermediate value)' as it is undefined.
getTripsHandler
S:/codeworks/Senior/Projects/effective-funicular/client/src/Components/Trips/ListofTrips/ListOfTrips.tsx:14
11 | const { uid } = useContext(UserContext);
12 |
13 | const getTripsHandler = async (userId: string) => {
14 | const { plans } = await tripsService.getAllPersonalTrips(userId);
| ^ 15 |
16 | const sortedTrips = plans.sort((a, b) => {
17 | const tripA = new Date(a.dateFrom).getTime();