diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-14 22:42:52 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-14 22:42:52 +0300 |
commit | c311c538a3442aed8d77449736f28be66feea57c (patch) | |
tree | e555dd765c690e3e269996d00a08814afad700d4 /src/pages/AuthPage/AuthPage.tsx | |
parent | 14b70c34a1b88c83e89f483399debd60560ed70b (diff) | |
download | which-ui-c311c538a3442aed8d77449736f28be66feea57c.tar.gz |
feat: configure navigation
Diffstat (limited to 'src/pages/AuthPage/AuthPage.tsx')
-rw-r--r-- | src/pages/AuthPage/AuthPage.tsx | 5 |
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; |