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

@ -3,7 +3,7 @@ import { LOGOS } from '$constants/logos';
import { Icon } from '$components/panels/Icon';
import classnames from 'classnames';
import { setLogo as setLogoAction } from "$redux/user/actions";
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
interface Props extends IRootState {
setLogo: typeof setLogoAction,

View file

@ -19,7 +19,7 @@ import * as Range from 'rc-slider/lib/Range';
import { TABS, TABS_TITLES } from '$constants/dialogs';
import { Icon } from '$components/panels/Icon';
import { pushPath } from '$utils/history';
import { IRootState, IRouteListItem } from '$redux/user/reducer';
import { IRootState, IRouteListItem } from '$redux/user';
import { ROLES } from "$constants/auth";
export interface IMapListDialogProps extends IRootState {

View file

@ -3,7 +3,7 @@ import { PROVIDERS, replaceProviderUrl } from '$constants/providers';
import { Icon } from '$components/panels/Icon';
import classnames from 'classnames';
import { changeProvider as changeProviderAction } from "$redux/user/actions";
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
interface Props extends IRootState {
changeProvider: typeof changeProviderAction,

View file

@ -5,7 +5,7 @@ import { connect } from 'react-redux';
import classnames from 'classnames';
import { getStyle } from "$utils/dom";
import { nearestInt } from "$utils/geom";
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
import { parseDesc } from "$utils/format";
interface ITitleDialogProps {

View file

@ -1,7 +1,7 @@
import * as React from "react";
import { LOGOS } from "$constants/logos";
import { connect } from "react-redux";
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
interface Props extends IRootState {}

View file

@ -7,7 +7,7 @@ import { connect } from 'react-redux';
import * as Slider from 'rc-slider/lib/Slider';
import { bindActionCreators } from 'redux';
import { setSpeed } from '$redux/user/actions';
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
import { Tooltip } from "$components/panels/Tooltip";
import { isMobile } from "$utils/window";

View file

@ -28,7 +28,7 @@ import {
} from '$redux/user/actions';
import { ProviderDialog } from '$components/dialogs/ProviderDialog';
import { ShotPrefetchDialog } from '$components/dialogs/ShotPrefetchDialog';
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
interface Props extends IRootState {
width: number,

View file

@ -7,7 +7,7 @@ import { EditorDialog } from '$components/panels/EditorDialog';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { setMode, startEditing, stopEditing, setLogo, takeAShot, keyPressed } from '$redux/user/actions';
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
import { Tooltip } from "$components/panels/Tooltip";
interface Props extends IRootState {

View file

@ -6,7 +6,7 @@ import { LOGOS } from '$constants/logos';
import { setMode } from '$redux/user/actions';
import { connect } from 'react-redux';
import { MODES } from '$constants/modes';
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
import { Tooltip } from "$components/panels/Tooltip";

View file

@ -21,7 +21,7 @@ import { Icon } from "$components/panels/Icon";
import classnames from "classnames";
import { CLIENT } from "$config/frontend";
import { DIALOGS, TABS } from "$constants/dialogs";
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
import { Tooltip } from "$components/panels/Tooltip";
import { TitleDialog } from "$components/dialogs/TitleDialog";

View file

@ -7,7 +7,7 @@ import * as Croppr from 'croppr';
import 'croppr/dist/croppr.css';
import { LOGOS } from '$constants/logos';
import { RendererPanel } from '$components/panels/RendererPanel';
import { IRootState } from "$redux/user/reducer";
import { IRootState } from "$redux/user";
type Props = {
data: IRootState['renderer']['data'],