Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:The 'view current open roles' button is redirecting to the join p… #1848

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ import { Wrapper } from '../StyledTalcommunityPage';
// }
interface Props {
handleCloseModal: () => void;
position: Opportunity;
}

export default function TalCommForm({ handleCloseModal, position }: Props) {
export default function TalCommForm({ handleCloseModal }: Props) {
const SignupSchema = Yup.object().shape({
name: Yup.string().required('Name Field Entry is Required'),
email: Yup.string()
Expand Down Expand Up @@ -134,6 +133,7 @@ export default function TalCommForm({ handleCloseModal, position }: Props) {
id="skills"
name="skills"
error={errors.skills}
touched={touched.skills}
// onChange={handleChange}
/>
<Field
Expand All @@ -144,6 +144,7 @@ export default function TalCommForm({ handleCloseModal, position }: Props) {
id="roles"
name="roles"
error={errors.roles}
touched={touched.roles}
// onChange={handleChange}
/>

Expand All @@ -157,13 +158,6 @@ export default function TalCommForm({ handleCloseModal, position }: Props) {
onChange={handleSetCheckCheckbox}
required
/>
<Checkbox
label="I have read and agreed to the terms and conditions"
disabled={false}
onChange={handleSetCheckCheckbox}
required
// className="bg-transparent"
/>
<atoms.Box maxWidth="50%">
<atoms.Button
buttonSize="standard"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function ThankyouPage() {
const router = useRouter();
const routeChange = (e) => {
e.preventDefault();
router.push('/join/filter');
router.push('/join');
};
return (
<>
Expand Down
18 changes: 11 additions & 7 deletions apps/dev-recruiters/src/pages/second.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
import Head from 'next/head';
import ProductHeader from '../components/modules/DetailedPage/ProductHeader';
import React from 'react';
import React, { useState } from 'react';
import SignUpForm from '../components/modules/TalcommunityPage/TalFormPage/signUpForm';
import BoxContainer from '../components/common/BoxContainer';
import TalcommunityPage from '../components/modules/TalcommunityPage';
import TalFormPage from '../components/modules/TalcommunityPage/TalFormPage';
import { HeaderTalPage } from '../components/modules/TalcommunityPage/HeaderTalPage';

const SecondPage = () => (
<>
const SecondPage = () => {
const [showModal, setShowModal] = useState(false);

const handleCloseModal = (): void => {};

return (
<BoxContainer>
{/* <TalcommunityPage></TalcommunityPage> */}
<HeaderTalPage></HeaderTalPage>
<SignUpForm />
{/* <TalFormPage></TalFormPage> */}
<SignUpForm handleCloseModal={handleCloseModal} />
{/* <TalCommForm></TalFormPage> */}
</BoxContainer>
</>
);
);
};

export default SecondPage;
Loading