Skip to content

Commit

Permalink
fix: invalid imports
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jun 4, 2019
1 parent 8e46b8c commit 6bfd80d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
3 changes: 2 additions & 1 deletion packages/core/src/useSprings.js
@@ -1,5 +1,6 @@
import { useMemo, useRef, useImperativeHandle, useEffect } from 'react'
import { callProp, fillArray, is, usePrev, useOnce } from 'shared'
import { is, usePrev, useOnce } from 'shared'
import { callProp, fillArray } from './helpers'
import { useMemoOne } from 'use-memo-one'
import { Controller } from './Controller'

Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/useTrail.js
@@ -1,7 +1,8 @@
import { useRef, useMemo, useEffect } from 'react'
import { callProp, is, usePrev } from 'shared'
import { useCallbackOne } from 'use-memo-one'
import { is, usePrev } from 'shared'
import { useSprings } from './useSprings'
import { callProp } from './helpers'

/** API
* const trails = useTrail(number, { ... })
Expand Down
12 changes: 3 additions & 9 deletions packages/core/src/useTransition.js
@@ -1,13 +1,7 @@
import { useRef, useEffect, useOnce, useMemo, useImperativeHandle } from 'react'
import { useRef, useEffect, useMemo, useImperativeHandle } from 'react'
import { toArray, callProp, interpolateTo, reconcileDeleted } from './helpers'
import { is, useForceUpdate, useOnce } from 'shared'
import { Controller } from './Controller'
import {
is,
toArray,
callProp,
interpolateTo,
useForceUpdate,
reconcileDeleted,
} from 'shared'

/** API
* const transitions = useTransition(items, itemKeys, { ... })
Expand Down

0 comments on commit 6bfd80d

Please sign in to comment.