1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-21 22:05:43 -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 -2
View File
@@ -1,4 +1,3 @@
import _ from 'lodash';
import PropTypes from 'prop-types';
import React from 'react';
import { kinds, sizes } from 'Helpers/Props';
@@ -10,7 +9,7 @@ function ImportListList({ lists, importListList }) {
<div className={styles.lists}>
{
lists.map((t) => {
const list = _.find(importListList, { id: t });
const list = importListList.find({ id: t });
if (!list) {
return null;