fixed code

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

No files matched your search

+1 -1
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;
+1 -1
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;