Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshiel committed Feb 8, 2024
1 parent 6e82eaf commit a1f62e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,9 @@ function IndexPage(props: {
});
updateLocalStorageUserData(newUserData);
}
console.log(document.referrer);
if (typeof window !== "undefined") {
console.log(document.referrer);
}
return (
<div>
<BaseDialog
Expand Down

0 comments on commit a1f62e2

Please sign in to comment.