Skip to content

Commit

Permalink
stupid ah bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanT102 committed Oct 16, 2024
1 parent b5c4613 commit 7deb29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/admin/DynamicForm/FormRegister.js
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ const FormRegister = (props) => {
);
};

if (user && (event?.pricing?.nonMembers === undefined && !user?.isMember && !user?.admin)) {
if (user && (currEvent?.pricing?.nonMembers === undefined && !user?.isMember && !user?.admin)) {
return <Redirect to={"/signup"} />;
}

Expand Down

0 comments on commit 7deb29f

Please sign in to comment.