aboutsummaryrefslogtreecommitdiff
path: root/src/pages/AuthPage/AuthPage.tsx
blob: d9c43d3a2fad04a0a8b563204068bc4695746c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import React from 'react';
import { User } from '../../types';
import SignInForm from './SignInForm';

interface PropTypes {
  setUser: (newUser: User | undefined) => void;
}

const AuthPage: React.FC<PropTypes> = ({ setUser }) => {
  return <SignInForm setUser={setUser} />;
};

export default AuthPage;