Skip to content

Commit

Permalink
fix mail
Browse files Browse the repository at this point in the history
  • Loading branch information
dlv237 committed May 26, 2024
1 parent 25a195a commit 91894b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/flights/checkout.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import React, { useEffect, useState } from "react";

Check failure on line 1 in src/flights/checkout.jsx

View workflow job for this annotation

GitHub Actions / test-and-lint

'React' is defined but never used

Check failure on line 1 in src/flights/checkout.jsx

View workflow job for this annotation

GitHub Actions / test-and-lint

'useState' is defined but never used
import axios from "axios";
import queryString from "query-string";
import { sendEmail } from "./EmailRestAPI";
import { sendEmail } from "./email";
import { useAuth0 } from "@auth0/auth0-react";

const Checkout = () => {
const [transaction, setTransaction] = useState(null);
const { user } = useAuth0();


Check failure on line 8 in src/flights/checkout.jsx

View workflow job for this annotation

GitHub Actions / test-and-lint

Delete `··⏎··`
useEffect(() => {
const fetchTransaction = async () => {
try {
Expand Down

0 comments on commit 91894b2

Please sign in to comment.