fixed reducer placement for user

This commit is contained in:
Fedor Katurov 2019-12-30 11:05:04 +07:00
parent f814fe6c42
commit 813fded927
20 changed files with 18 additions and 18 deletions

View file

@ -1,6 +1,6 @@
import { ACTIONS } from '$redux/user/constants';
import { IUser } from "$constants/auth";
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
export const setUser = (user: IUser) => ({ type: ACTIONS.SET_USER, user });
export const userLogout = () => ({ type: ACTIONS.USER_LOGOUT });

View file

@ -85,7 +85,7 @@ import { DEFAULT_PROVIDER } from "$constants/providers";
import { DIALOGS, TABS } from "$constants/dialogs";
import * as ActionCreators from "$redux/user/actions";
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
import { downloadGPXTrack, getGPXString } from "$utils/gpx";
import { Unwrap } from "$utils/middleware";
import { IState } from "$redux/store";