Removed prop-types global import, added to files directly

• Removed:
- prop-types global import, added to files directly
This commit is contained in:
mgabdev
2020-08-17 15:59:29 -05:00
parent 5a55f89dbe
commit 7e47bb1d9c
279 changed files with 280 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import {
fetchBundleRequest,

View File

@@ -1,4 +1,5 @@
import React from 'react'
import PropTypes from 'prop-types'
import isEqual from 'lodash.isequal'
import { APP_NAME } from '../../../constants'

View File

@@ -2,6 +2,7 @@
// for the benefit of users with motion sickness.
import Motion from 'react-motion/lib/Motion';
import React from 'react'
import PropTypes from 'prop-types'
const stylesToKeep = ['opacity', 'backgroundOpacity'];

View File

@@ -1,4 +1,5 @@
import React from 'react'
import PropTypes from 'prop-types'
import {
BREAKPOINT_EXTRA_LARGE,
BREAKPOINT_LARGE,

View File

@@ -1,4 +1,5 @@
import React from 'react'
import PropTypes from 'prop-types'
import { getWindowDimension } from '../../../utils/is_mobile'
const initialState = getWindowDimension()

View File

@@ -1,4 +1,5 @@
import React from 'react'
import PropTypes from 'prop-types'
import Bundle from './bundle'
class WrappedBundle extends React.PureComponent {

View File

@@ -1,4 +1,5 @@
import React from 'react'
import PropTypes from 'prop-types'
import api from '../../../api'
import { Route } from 'react-router-dom'
import BundleColumnError from '../../../components/bundle_column_error'