Skip to content

Commit

Permalink
refactor(core-spinner): use safeRest from @tds/util-helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
jraff authored and marcod1419 committed Sep 6, 2019
1 parent 9b11137 commit 9b924e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/Spinner/Spinner.jsx
Expand Up @@ -4,9 +4,9 @@ import styled from 'styled-components'

import { position } from '@tds/shared-styles'
import { media } from '@tds/core-responsive'
import { safeRest } from '@tds/util-helpers'

import { deprecate, warn } from '../../shared/utils/warn'
import safeRest from '../../shared/utils/safeRest'
import SpinnerSvg from './SpinnerSvg/SpinnerSvg'

const zindexModalBackdrop = 1400
Expand Down
4 changes: 1 addition & 3 deletions packages/Spinner/SpinnerSvg/SpinnerSvg.jsx
Expand Up @@ -4,9 +4,7 @@ import styled from 'styled-components'

import { colorAccessibleGreen, colorSecondary } from '@tds/core-colours'
import Text from '@tds/core-text'
import { uniqueId } from '@tds/util-helpers'

import safeRest from '../../../shared/utils/safeRest'
import { uniqueId, safeRest } from '@tds/util-helpers'

// TODO: use ES6 module import after rollup fixes this issue: https://github.com/rollup/rollup/issues/3011
const keyframes = require('styled-components').keyframes
Expand Down

0 comments on commit 9b924e1

Please sign in to comment.