finished auth page

This commit is contained in:
Hope87
2021-06-14 15:56:10 +03:00
parent 2002bcc3d5
commit 732cb7a2bc
10 changed files with 406 additions and 221 deletions

View File

@@ -16,18 +16,13 @@ const Candidate = () => {
const history = useHistory();
const { id: candidateId } = useParams();
console.log('candidateId', candidateId);
const currentCandidate = candidatesList.find((el) => el.id === Number(candidateId));
const { name, img, header } = currentCandidate;
console.log(currentCandidate);
let classes;
console.log(classes);
if (name === 'Backend') {
classes = style.back;
console.log(classes);
@@ -95,10 +90,6 @@ const Candidate = () => {
</div>
</div>
</div>
{/* <h1>
Candidate name: <span>{currentCandidate.name}</span>
</h1> */}
</section>
);
};