Skip to content

Commit

Permalink
revert async in ReturnScreen() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 13, 2024
1 parent 0b67181 commit 50d6a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/screens/ReturnScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Navigate, useNavigate } from "react-router";
import { EmailLink } from "../data/data";
import { getSessionStatus } from "../api/apiRequests";

export default async function ReturnScreen() {
export default function ReturnScreen() {
const navigate = useNavigate();
const [status, setStatus] = useState(null);
const [customerEmail, setCustomerEmail] = useState("");
Expand Down

0 comments on commit 50d6a36

Please sign in to comment.