Skip to content

Commit

Permalink
Merge pull request #92 from cm-core-team/fix/incorrect-routing
Browse files Browse the repository at this point in the history
  • Loading branch information
JudeDavis1 authored Jan 27, 2024
2 parents 85b3dc2 + 0c575ab commit 95e2660
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ export function PhoneNumberCheck() {
startCountdown(30);
}, [countdown, form, selectedCongregation, startCountdown]);

React.useEffect(() => {
if (selectedCongregation === undefined) {
router.replace("/register/weekly-meetings");
}
}, [router, selectedCongregation]);

const onSubmit = async () => {
if (!selectedCongregation) {
return;
Expand Down

0 comments on commit 95e2660

Please sign in to comment.