Skip to content

Commit 35db9d4

Browse files
committed
Edited some suffixes
1 parent dee26f4 commit 35db9d4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/actions/components.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
ComponentInt, ComponentsInt, PropInt, ChildInt, Action
2+
ComponentInt, ComponentsInt, PropInt, ChildInt, Action, ApplicationStateInt
33
} from '../utils/Interfaces.ts';
44

55
import {
@@ -33,20 +33,20 @@ import { loadState } from '../localStorage';
3333
import createFiles from '../utils/createFiles.util.ts';
3434
import createApplicationUtil from '../utils/createApplication.util.ts';
3535

36+
3637
export const changeImagePath = (imageSource: string) => ({
3738
type: CHANGE_IMAGE_SOURCE,
3839
payload: { imageSource },
3940
})
4041

4142
export const loadInitData = () => (dispatch: (arg: Action) => void) => {
42-
loadState().then((data: any) => {
43+
loadState().then((data: ApplicationStateInt) => {
4344
dispatch({
4445
type: LOAD_INIT_DATA,
4546
payload: {
4647
data: data ? data.workspace : {},
4748
},
4849
});
49-
console.log(data);
5050
});
5151
};
5252

File renamed without changes.

src/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import throttle from 'lodash.throttle';
33
import { composeWithDevTools } from 'redux-devtools-extension/developmentOnly';
44
import { createStore, applyMiddleware, compose } from 'redux';
55
import thunk from 'redux-thunk';
6-
import reducers from './reducers';
6+
import reducers from './reducers/index.ts';
77
import { saveState } from './localStorage';
88

99
let composer;

0 commit comments

Comments
 (0)