Skip to content

Commit

Permalink
changed extend to type instead of interface on Enter.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
acao22 committed Jul 22, 2024
1 parent b5be00e commit 45b02e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Enter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { useParams, useNavigate } from "react-router-dom";
import Navbar from "../partials/NavBar";
import Footer from "../partials/Footer";

interface EnterProps {
type EnterProps = {
signIn: (email: string, link: string) => void;
}
};

const Enter: React.FC<EnterProps> = ({ signIn }) => {
let params = useParams();
Expand Down

0 comments on commit 45b02e5

Please sign in to comment.