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

interface PropTypes {
  logIn: (name: string, password: string) => Promise<boolean>;
}

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

export default AuthPage;