Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 committed Nov 9, 2023
1 parent e1d91e2 commit e9a840f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/pages/JoinPage.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect } from "react";
import React from "react";
import { UserDropdown } from "../components/navigation/desktop/UserDropdown";
import { Widget } from "near-social-vm";
import { useBosLoaderStore } from "../stores/bos-loader";
Expand All @@ -10,15 +10,6 @@ export default function JoinPage(props) {
? "buildhub.near/widget/create-something"
: "buildhub.near/widget/login";

useEffect(() => {
if (
props.signedIn === true &&
CurrentView === "buildhub.near/widget/login"
) {
window.location.reload();
}
}, [props.signedIn]);

return (
<div className="h-100">
{props.signedIn && (
Expand Down

0 comments on commit e9a840f

Please sign in to comment.