fixed code

This commit is contained in:
Hope87
2021-06-29 17:58:15 +03:00
parent 8e607ee21f
commit 800dc0f48c
10 changed files with 106 additions and 77 deletions

View File

@ -2,6 +2,6 @@ import React from 'react';
import Candidate from '../components/Candidate/Candidate';
const CandidatePage = () => <Candidate />;
const CandidatePage = ({ candidatesArr }) => <Candidate candidatesArr={candidatesArr} />;
export default CandidatePage;

View File

@ -2,6 +2,6 @@ import React from 'react';
import Home from '../components/Home/Home';
const HomePage = () => <Home />;
const HomePage = ({ getCandidate }) => <Home getCandidate={getCandidate} />;
export default HomePage;