Skip to content
Snippets Groups Projects
Commit 072a3661 authored by Chif Gergő's avatar Chif Gergő
Browse files

Resolve more errors

parent c034bf18
No related branches found
No related tags found
Loading
...@@ -10,6 +10,9 @@ import Statistics from './pages/Statistics'; ...@@ -10,6 +10,9 @@ import Statistics from './pages/Statistics';
import Groups from './pages/Groups'; import Groups from './pages/Groups';
import News from './pages/News'; import News from './pages/News';
import Homework from './pages/Homework'; import Homework from './pages/Homework';
import Applications from './pages/Applications';
import EventDetail from './pages/EventDetail';
import ApplicantProfile from './pages/ApplicantProfile';
const Main = () => ( const Main = () => (
<Switch> <Switch>
...@@ -22,6 +25,9 @@ const Main = () => ( ...@@ -22,6 +25,9 @@ const Main = () => (
<Route path='/statistics' component={Statistics} /> <Route path='/statistics' component={Statistics} />
<Route path='/groups' component={Groups} /> <Route path='/groups' component={Groups} />
<Route path='/homework' component={Homework} /> <Route path='/homework' component={Homework} />
<Route path='/events/:id' component={EventDetail} />
<Route path='/applications' component={Applications} />
<Route path='/applicant/:id' component={ApplicantProfile} />
<Route component={NotFound} /> <Route component={NotFound} />
</Switch> </Switch>
); );
......
...@@ -12,6 +12,9 @@ const rootReducer = combineReducers({ ...@@ -12,6 +12,9 @@ const rootReducer = combineReducers({
news: NewsReducer, news: NewsReducer,
newNews: AddNewsReducer, newNews: AddNewsReducer,
selectedNews: EditNewsReducer, selectedNews: EditNewsReducer,
events: EventReducer,
trainees: TraineeReducer,
notes: NoteReducer,
homeworks: HomeworksReducer, homeworks: HomeworksReducer,
newTask: AddTaskReducer, newTask: AddTaskReducer,
newSolution: AddSolutionReducer, newSolution: AddSolutionReducer,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment