Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/meshery/play
Browse files Browse the repository at this point in the history
  • Loading branch information
leecalcote committed Sep 5, 2023
2 parents 2dad593 + 43cf964 commit 4c242e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions site/src/components/SignupForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,12 @@ const SignupForm = ({ onSubmit }) => {
const [errorMessage, setErrorMessage] = useState('');

// const errorAccounts = "Please provide at least one account";
const errorRole = '';

useEffect(() => {
if (formSubmitted) {
onSubmit();

axios.post("https://hook.us1.make.com/s4jo47a8ydq6uk7gg16wuukgr4l52p8c", {
axios.post("https://hook.us1.make.com/x4crqi16j8wfhctosk8y47fj6gknyvvh", {
memberFormOne
});

Expand All @@ -63,6 +62,7 @@ const SignupForm = ({ onSubmit }) => {
behavior: 'smooth'
});
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [formSubmitted, memberFormOne]);

const PlayFormComponent = () => {
Expand Down
4 changes: 2 additions & 2 deletions site/src/components/SignupForm/signupform.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const SignupFormWrapper = styled.section`
margin-bottom: 3rem;
margin-top: 2rem;
text-align: justify;
color: #ececed;
color: #8b8b8f;
text-align: left;
}
Expand Down Expand Up @@ -247,4 +247,4 @@ const SignupFormWrapper = styled.section`
}
`;

export default SignupFormWrapper;
export default SignupFormWrapper;

0 comments on commit 4c242e1

Please sign in to comment.