aboutsummaryrefslogtreecommitdiff
path: root/src/pages/AuthPage/AuthPage.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-14 22:42:52 +0300
committereug-vs <eug-vs@keemail.me>2020-06-14 22:42:52 +0300
commitc311c538a3442aed8d77449736f28be66feea57c (patch)
treee555dd765c690e3e269996d00a08814afad700d4 /src/pages/AuthPage/AuthPage.tsx
parent14b70c34a1b88c83e89f483399debd60560ed70b (diff)
downloadwhich-ui-c311c538a3442aed8d77449736f28be66feea57c.tar.gz
feat: configure navigation
Diffstat (limited to 'src/pages/AuthPage/AuthPage.tsx')
-rw-r--r--src/pages/AuthPage/AuthPage.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pages/AuthPage/AuthPage.tsx b/src/pages/AuthPage/AuthPage.tsx
index d9c43d3..82d468d 100644
--- a/src/pages/AuthPage/AuthPage.tsx
+++ b/src/pages/AuthPage/AuthPage.tsx
@@ -4,10 +4,11 @@ import SignInForm from './SignInForm';
interface PropTypes {
setUser: (newUser: User | undefined) => void;
+ navigate: (prefix: string, id: string) => void;
}
-const AuthPage: React.FC<PropTypes> = ({ setUser }) => {
- return <SignInForm setUser={setUser} />;
+const AuthPage: React.FC<PropTypes> = ({ setUser, navigate }) => {
+ return <SignInForm setUser={setUser} navigate={navigate} />;
};
export default AuthPage;