explicitly import lodash where it is used
This commit is contained in:
parent
dbc997cc85
commit
f1fc72bc01
@ -1,6 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import cx from 'classnames';
|
||||
import _ from 'lodash';
|
||||
import { styles } from '../styles';
|
||||
|
||||
const propTypes = {
|
||||
@ -14,7 +15,7 @@ export default class DropdownListTitle extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { className, description } = this.props;
|
||||
const { className } = this.props;
|
||||
|
||||
return (
|
||||
<li className={cx(styles.title, className)} aria-hidden>
|
||||
|
@ -1,3 +1,5 @@
|
||||
import _ from 'lodash';
|
||||
|
||||
const MEDIA = Meteor.settings.public.media;
|
||||
const STUN_TURN_FETCH_URL = MEDIA.stunTurnServersFetchAddress;
|
||||
|
||||
@ -33,7 +35,7 @@ const fetchStunTurnServers = function (sessionToken) {
|
||||
}
|
||||
return response;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const fetchWebRTCMappedStunTurnServers = function (sessionToken) {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
|
Loading…
Reference in New Issue
Block a user