1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-10-01 19:36:43 +02:00

Add friend page

This commit is contained in:
Kamran Ahmed
2023-08-07 18:02:25 +01:00
parent 9ed60d836a
commit 0a5eeae68c
9 changed files with 291 additions and 18 deletions

View File

@@ -91,7 +91,7 @@ export function GitHubButton(props: GitHubButtonProps) {
// the user was on before they clicked the social login button
if (!['/login', '/signup'].includes(window.location.pathname)) {
const pagePath =
window.location.pathname === '/respond-invite'
['/respond-invite', '/befriend'].includes(window.location.pathname)
? window.location.pathname + window.location.search
: window.location.pathname;