chore(client): replace react-media with react-responsive
react-media does not handle props changes, use react-responsive instead.
This commit is contained in:
committed by
mrugesh mohapatra
parent
81dd2ccb54
commit
6bbe152f34
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import Media from 'react-media';
|
||||
import Media from 'react-responsive';
|
||||
|
||||
const fCClogo = 'https://s3.amazonaws.com/freecodecamp/freecodecamp_logo.svg';
|
||||
const fCCglyph = 'https://s3.amazonaws.com/freecodecamp/FFCFire.png';
|
||||
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||
import { connect } from 'react-redux';
|
||||
import { bindActionCreators } from 'redux';
|
||||
import { createSelector } from 'reselect';
|
||||
import Media from 'react-media';
|
||||
import Media from 'react-responsive';
|
||||
import FCCSearch from 'react-freecodecamp-search';
|
||||
|
||||
import NavLogo from './components/NavLogo';
|
||||
|
Reference in New Issue
Block a user