Skip to content

Commit e623c0e

Browse files
committed
merging latest pull
1 parent fe48f4d commit e623c0e

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

src/actions/components.ts

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
import {
2-
<<<<<<< HEAD
32
ComponentInt,
43
ComponentsInt,
54
PropInt,
65
ChildInt,
7-
Action,
8-
ApplicationStateInt,
9-
LoadInitData,
10-
AddComponent
11-
=======
12-
ComponentInt, ComponentsInt, PropInt, ChildInt, Action
13-
>>>>>>> 879a79ab127239023143128b74bc26e7034e561f
6+
Action
147
} from '../utils/Interfaces';
158

169
import {
@@ -37,7 +30,7 @@ import {
3730
ADD_PROP,
3831
DELETE_ALL_DATA,
3932
UPDATE_HTML_ATTR,
40-
// UPDATE_CHILDREN_SORT, --The reason why this is commented out is because of the unused reducer of the same name, for the component that is unfinished with the same name. Check out the Sort Children component to see what it does.
33+
// UPDATE_CHILDREN_SORT, --The reason why this is commented out is because of the unused reducer of the same name, for the component that is unfinished with the same name. Check out the Sort Children component to see what it does.
4134
CHANGE_IMAGE_SOURCE,
4235
DELETE_IMAGE
4336
} from '../actionTypes/index';
@@ -62,13 +55,9 @@ export const loadInitData = () => (dispatch: (arg: Action) => void) => {
6255
});
6356
};
6457

65-
<<<<<<< HEAD
6658
export const addComponent = ({ title }: { title: string }) => (
67-
dispatch: (arg: AddComponent) => void
59+
dispatch: (arg: Action) => void
6860
) => {
69-
=======
70-
export const addComponent = ({ title }: { title: string }) => (dispatch: (arg: Action) => void) => {
71-
>>>>>>> 879a79ab127239023143128b74bc26e7034e561f
7261
dispatch({ type: ADD_COMPONENT, payload: { title } });
7362
};
7463

0 commit comments

Comments
 (0)