test for mail #42
Annotations
10 errors and 4 warnings
Lint with npm:
src/flights/checkout.jsx#L1
'React' is defined but never used
|
Lint with npm:
src/flights/checkout.jsx#L15
Insert `,`
|
Lint with npm:
src/flights/checkout.jsx#L21
Insert `,`
|
Lint with npm:
src/flights/checkout.jsx#L24
Replace `'Flight·details:'` with `"Flight·details:"`
|
Lint with npm:
src/flights/checkout.jsx#L25
Replace `'Flight·departure:',·flightResponse.data.flight.flights[0].departure_airport.id` with `⏎··········"Flight·departure:",⏎··········flightResponse.data.flight.flights[0].departure_airport.id,⏎········`
|
Lint with npm:
src/flights/checkout.jsx#L26
Replace `'Flight·arrival:',·flightResponse.data.flight.flights[0].arrival_airport.id` with `⏎··········"Flight·arrival:",⏎··········flightResponse.data.flight.flights[0].arrival_airport.id,⏎········`
|
Lint with npm:
src/flights/checkout.jsx#L38
Replace `transaction·&&·transaction.status·===·"AUTHORIZED"·&&·flightDetails` with `⏎··········transaction·&&⏎··········transaction.status·===·"AUTHORIZED"·&&⏎··········flightDetails⏎········`
|
Lint with npm:
src/flights/checkout.jsx#L45
Replace `"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/buy",·data` with `⏎············"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/buy",⏎············data,⏎··········`
|
Lint with npm:
src/flights/checkout.jsx#L47
Replace `"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/reciept-dev-createPDF",` with `⏎············"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/reciept-dev-createPDF",⏎···········`
|
Lint with npm:
src/flights/checkout.jsx#L48
Insert `··`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint with npm:
src/flights/email.jsx#L4
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Lint with npm:
src/flights/email.jsx#L33
React Hook useEffect has a missing dependency: 'user.email'. Either include it or remove the dependency array
|
Lint with npm:
src/flights/recomendations.jsx#L61
React Hook useEffect has a missing dependency: 'getRecomendedFlights'. Either include it or remove the dependency array
|
Loading