blob: 82d468d34baedcbf5d2be1d9cffe100723656952 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import React from 'react';
import { User } from '../../types';
import SignInForm from './SignInForm';
interface PropTypes {
setUser: (newUser: User | undefined) => void;
navigate: (prefix: string, id: string) => void;
}
const AuthPage: React.FC<PropTypes> = ({ setUser, navigate }) => {
return <SignInForm setUser={setUser} navigate={navigate} />;
};
export default AuthPage;
|