Skip to content

Commit 42fdaca

Browse files
#TRAPWLS-19 Bug fixed
1 parent 3cd2f71 commit 42fdaca

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/homePage/Footer.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ function Footer() {
1414
<Container>
1515
<Row>
1616
<Column>
17-
<FooterLink href="./aboutus">About Us</FooterLink><br></br>
17+
<FooterLink href="#/aboutus">About Us</FooterLink><br></br>
1818
</Column>
1919
<Column>
20-
<FooterLink href="./contactus">Contact Us</FooterLink><br></br>
20+
<FooterLink href="#/contactus">Contact Us</FooterLink><br></br>
2121
</Column>
2222

2323
</Row>

src/loginAuthentication/LoginPage.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ function LoginPage(props) {
194194
}
195195

196196
// handle Google signIn method
197-
function googleLogin() {
197+
async function googleLogin() {
198198
//signInWithRedirect(auth, provider) // alternative for Glogin
199-
signInWithPopup(auth, provider).then((data) => {
199+
await signInWithPopup(auth, provider).then((data) => {
200200
storeLoginSuccessAndNavigate(data?.user);
201201
}).catch((e) => {
202-
console.error("signinpopup catch--", e);
202+
console.error("signinpopup catch--", e);
203203
})
204204
}
205205

0 commit comments

Comments
 (0)