-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9aca11e
commit 9a2d7ed
Showing
10 changed files
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
import { Button } from "@chakra-ui/react"; | ||
import { useNavigate } from "react-router-dom"; | ||
import { Paths } from "../../routing/paths"; | ||
import { LoginCredentials } from "./signUpWaiting"; | ||
import { Paths } from "../../routing"; | ||
|
||
const SignUpButton = (LoginCredentials: LoginCredentials) => { | ||
const disable: boolean = !LoginCredentials.validated; | ||
|
||
const navigate = useNavigate(); | ||
|
||
return ( | ||
<Button | ||
// disabled={disable} | ||
width="full" | ||
marginTop={4} | ||
colorScheme="blue" | ||
onClick={() => { | ||
console.log(LoginCredentials); | ||
navigate(Paths.profileSetup, { state: LoginCredentials }); | ||
}} | ||
> | ||
Sign Up | ||
</Button> | ||
<Button | ||
// disabled={disable} | ||
width="full" | ||
marginTop={4} | ||
colorScheme="blue" | ||
onClick={() => { | ||
console.log(LoginCredentials); | ||
navigate(Paths.profileSetup, { state: LoginCredentials }); | ||
}} | ||
> | ||
Sign Up | ||
</Button> | ||
); | ||
} | ||
}; | ||
|
||
export default SignUpButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { default } from "./routing"; | ||
export { Paths, buildOrgProfilePath } from "./paths"; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters