File tree Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import * as React from "react";
9
9
import { useSelector } from "react-redux" ;
10
10
import { Route , Router } from "react-router-dom" ;
11
11
import { history } from "./configureStore" ;
12
- import { Todo } from "./model/model " ;
12
+ import { Todo } from "./model" ;
13
13
import { HomePage , TodoPage } from "./pages" ;
14
14
import { RootState } from "./reducers/index" ;
15
15
import { withRoot } from "./withRoot" ;
Original file line number Diff line number Diff line change 1
- import { Action , ActionType , Todo } from "../model/model " ;
1
+ import { Action , ActionType , Todo } from "../model" ;
2
2
3
3
export function addTodo ( todo : Todo ) : Action < Todo > {
4
4
return {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import * as React from "react";
6
6
import { useSelector } from "react-redux" ;
7
7
import { useActions } from "../actions" ;
8
8
import * as TodoActions from "../actions/todo" ;
9
- import { Todo } from "../model/model " ;
9
+ import { Todo } from "../model" ;
10
10
import { RootState } from "../reducers" ;
11
11
12
12
export function TodoTable ( ) {
Original file line number Diff line number Diff line change
1
+ export * from "./model" ;
Original file line number Diff line number Diff line change 2
2
* Created by toni on 12.03.2017.
3
3
*/
4
4
import { Reducer } from "redux" ;
5
- import { Action } from "../model/model " ;
5
+ import { Action } from "../model" ;
6
6
7
7
export default function createReducer < S > (
8
8
initialState : S ,
Original file line number Diff line number Diff line change 1
1
import { History } from "history" ;
2
2
import { combineReducers } from "redux" ;
3
- import { Todo } from "../model/model " ;
3
+ import { Todo } from "../model" ;
4
4
import * as todoReducer from "./todo" ;
5
5
6
6
export interface RootState {
Original file line number Diff line number Diff line change 1
- import { Action , ActionType , Todo } from "../model/model " ;
1
+ import { Action , ActionType , Todo } from "../model" ;
2
2
import createReducer from "./createReducer" ;
3
3
4
4
export const todoList = createReducer < Todo [ ] > ( [ ] , {
You can’t perform that action at this time.
0 commit comments