Upgrade Reselect to 4.1.2

Co-authored-by: Fedor Indutnyy <indutny@signal.org>
This commit is contained in:
Evan Hahn 2021-11-12 16:37:44 -06:00 committed by GitHub
parent 066a23a6a9
commit 4490d9f2d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 35 deletions

View file

@ -1,7 +1,7 @@
// Copyright 2019-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { debounce, get, isNumber, pick, identity } from 'lodash';
import { debounce, get, isNumber, pick } from 'lodash';
import classNames from 'classnames';
import type { CSSProperties, ReactChild, ReactNode, RefObject } from 'react';
import React from 'react';
@ -226,7 +226,7 @@ type StateType = {
const getActions = createSelector(
// It is expensive to pick so many properties out of the `props` object so we
// use `createSelector` to memoize them by the last seen `props` object.
identity,
(props: PropsType) => props,
(props: PropsType): PropsActionsType => {
const unsafe = pick(props, [