Skip to content

Commit

Permalink
reorganing reducer imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon committed May 17, 2018
1 parent ffe6d81 commit 1f3812b
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions src/state/reducer.js
Original file line number Diff line number Diff line change
@@ -1,45 +1,36 @@
// @flow
import type { Position } from 'css-box-model';
import invariant from 'tiny-invariant';
import { type Position } from 'css-box-model';
import { scrollDroppable } from './droppable-dimension';
import getDragImpact from './get-drag-impact/';
import moveCrossAxis from './move-cross-axis/';
import moveToNextIndex from './move-to-next-index/';
import { noMovement } from './no-impact';
import { add, isEqual, subtract } from './position';
import scrollWindowDetails from './scroll-window-details';
import type {
Action,
State,
DraggableDimension,
DroppableDimension,
DroppableId,
DraggableId,
DraggableDescriptor,
DraggableDimensionMap,
DroppableDimensionMap,
DropReason,
DraggableLocation,
LiftRequest,
PendingDrop,
Viewport,
IdleState,
PreparingState,
DraggingState,
Critical,
ItemPositions,
DragPositions,
InitialCollectionState,
DraggingState,
BulkCollectionState,
DropAnimatingState,
DropPendingState,
DropCompleteState,
DragImpact,
WindowDetails,
DimensionMap,
DropReason,
} from '../types';
import { add, subtract, isEqual, negate } from './position';
import noImpact, { noMovement } from './no-impact';
import getDragImpact from './get-drag-impact/';
import moveToNextIndex from './move-to-next-index/';
import type { Result as MoveToNextResult } from './move-to-next-index/move-to-next-index-types';
import type { Result as MoveCrossAxisResult } from './move-cross-axis/move-cross-axis-types';
import moveCrossAxis from './move-cross-axis/';
import { scrollDroppable } from './droppable-dimension';
import scrollWindowDetails from './scroll-window-details';

const origin: Position = { x: 0, y: 0 };

Expand Down

0 comments on commit 1f3812b

Please sign in to comment.