1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

Convert some instances (filter, find, pick) to native from lodash

This commit is contained in:
Qstick
2020-09-27 22:33:21 -04:00
parent 987ed357d5
commit d8a0aac9c3
21 changed files with 69 additions and 94 deletions
@@ -1,4 +1,3 @@
import _ from 'lodash';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { connect } from 'react-redux';
@@ -20,7 +19,7 @@ function createMapStateToProps() {
items
} = metadata;
const settings = selectSettings(_.find(items, { id }), pendingChanges, saveError);
const settings = selectSettings(items.find({ id }), pendingChanges, saveError);
return {
advancedSettings,