Skip to content

Commit

Permalink
refactor(core-heading): 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 8238b43 commit d52a425
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/Heading/Heading.jsx
Expand Up @@ -11,8 +11,7 @@ import {
} from '@tds/shared-typography'
import { colorWhite, colorText, colorSecondary } from '@tds/core-colours'
import { media } from '@tds/core-responsive'

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

import HeadingSup, { StyledHeadingSup } from './HeadingSup/HeadingSup'

Expand Down
2 changes: 1 addition & 1 deletion packages/Heading/HeadingSup/HeadingSup.jsx
Expand Up @@ -4,9 +4,9 @@ import PropTypes from 'prop-types'
import styled from 'styled-components'

import { baseSupSubScripts } from '@tds/shared-typography'
import { safeRest } from '@tds/util-helpers'

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

export const StyledHeadingSup = styled.sup(baseSupSubScripts)

Expand Down
1 change: 1 addition & 0 deletions packages/Heading/package.json
Expand Up @@ -29,6 +29,7 @@
"@tds/core-colours": "^2.1.0",
"@tds/core-responsive": "^1.3.1",
"@tds/shared-typography": "^1.3.3",
"@tds/util-helpers": "^1.1.0",
"prop-types": "^15.5.10"
}
}

0 comments on commit d52a425

Please sign in to comment.