Recommendation Dates fix #47
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#L23
Replace `flightResponse.data·&&·flightResponse.data.flight·&&·flightResponse.data.flight.flights` with `⏎··········flightResponse.data·&&⏎··········flightResponse.data.flight·&&⏎··········flightResponse.data.flight.flights⏎········`
|
Lint with npm:
src/flights/checkout.jsx#L37
Replace `transaction·&&·transaction.status·===·"AUTHORIZED"·&&·flightDetails·&&·flightDetails.length·>·0` with `⏎··········transaction·&&⏎··········transaction.status·===·"AUTHORIZED"·&&⏎··········flightDetails·&&⏎··········flightDetails.length·>·0⏎········`
|
Lint with npm:
src/flights/checkout.jsx#L44
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#L46
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#L47
Insert `··`
|
Lint with npm:
src/flights/checkout.jsx#L48
Insert `··`
|
Lint with npm:
src/flights/checkout.jsx#L49
Replace `precio:·transaction.amount` with `··precio:·transaction.amount,`
|
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#L62
React Hook useEffect has a missing dependency: 'getRecomendedFlights'. Either include it or remove the dependency array
|
Loading