Skip to content

Commit

Permalink
Merge pull request #39 from untilhamza/hotfix/stop-signing-user-out-o…
Browse files Browse the repository at this point in the history
…n-booking

Hotfix/stop signing user out on booking
  • Loading branch information
untilhamza authored Mar 12, 2023
2 parents c369997 + 671a261 commit 0824463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/BookingForm/BookingForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import moment from "moment";
import { Form, Button } from "react-bootstrap";
import { DatePicker } from "antd";
import TimeSelector from "../TimeSelector/TimeSelector";
import { RecaptchaVerifier, signInWithPhoneNumber, signOut } from "firebase/auth";
import { RecaptchaVerifier, signInWithPhoneNumber } from "firebase/auth";
import { auth } from "../../database/firebase-config";

import "./BookingForm.css";
Expand Down Expand Up @@ -180,7 +180,6 @@ const BookingForm = ({ onCancel, onConfirm, oldData, slots, onGetSlots, slotStat
e.preventDefault();
if (phoneIsVerified) {
handleSubmit();
signOut(auth);
} else {
}
}}
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.5.0"
"version": "1.5.1"
}

0 comments on commit 0824463

Please sign in to comment.