fixed code
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import React from 'react';
|
||||
import AuthForDevelopers from '../components/Auth/AuthForDevelopers';
|
||||
|
||||
const AuthPageForDevelopers = ({ setAuth }) => {
|
||||
return <AuthForDevelopers setAuthed={setAuth} />;
|
||||
const AuthPageForDevelopers = () => {
|
||||
return <AuthForDevelopers />;
|
||||
};
|
||||
|
||||
export default AuthPageForDevelopers;
|
||||
|
@ -1,8 +1,8 @@
|
||||
import React from 'react';
|
||||
import AuthForPartners from '../components/Auth/AuthForPartners';
|
||||
|
||||
const AuthPageForPartners = ({ setAuth }) => {
|
||||
return <AuthForPartners setAuthed={setAuth} />;
|
||||
const AuthPageForPartners = () => {
|
||||
return <AuthForPartners />;
|
||||
};
|
||||
|
||||
export default AuthPageForPartners;
|
||||
|
@ -1,8 +1,8 @@
|
||||
import React from 'react';
|
||||
import Calendar from '../components/Calendar/Calendar';
|
||||
|
||||
const CalendarPage = ({ candidateForCalendar }) => {
|
||||
return <Calendar candidateForCalendar={candidateForCalendar} />;
|
||||
const CalendarPage = () => {
|
||||
return <Calendar />;
|
||||
};
|
||||
|
||||
export default CalendarPage;
|
||||
|
@ -2,8 +2,6 @@ import React from 'react';
|
||||
|
||||
import Candidate from '../components/Candidate/Candidate';
|
||||
|
||||
const CandidatePage = ({ candidatesArr, getCandidateForCalendar }) => (
|
||||
<Candidate candidatesArr={candidatesArr} getCandidateForCalendar={getCandidateForCalendar} />
|
||||
);
|
||||
const CandidatePage = () => <Candidate />;
|
||||
|
||||
export default CandidatePage;
|
||||
|
@ -2,6 +2,6 @@ import React from 'react';
|
||||
|
||||
import Home from '../components/Home/Home';
|
||||
|
||||
const HomePage = ({ getCandidate }) => <Home getCandidate={getCandidate} />;
|
||||
const HomePage = () => <Home />;
|
||||
|
||||
export default HomePage;
|
||||
|
Reference in New Issue
Block a user