From 24b244ff3739de6b7a4c5792bc86623809c07d10 Mon Sep 17 00:00:00 2001 From: akshat2jain Date: Thu, 28 Dec 2023 17:44:37 +0530 Subject: [PATCH] added some ui changes on homescreen --- client/src/pages/Booking.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/pages/Booking.jsx b/client/src/pages/Booking.jsx index 5805880..1cd0bc6 100644 --- a/client/src/pages/Booking.jsx +++ b/client/src/pages/Booking.jsx @@ -2,6 +2,7 @@ import React, { useState, useEffect } from "react"; import Loading from "../componetnts/Loading"; import bgimg2 from "../assests/2.jpg"; import NoRideAvailable from "./NoRIdeAvailable"; +import { message } from "antd"; const Booking = ({ showUi }) => { const [isLoading, setIsLoading] = useState(true); const [isHovered, setIsHovered] = useState(false); @@ -44,6 +45,7 @@ const Booking = ({ showUi }) => { }, []); const googleLogin = async () => { + message.success("Please Wait! This may take few seconds"); window.open(`${process.env.REACT_APP_SECRETROUTE}/auth/google`, "_self"); };