Remove react-immutable-pure-component

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
Alex Gleason 2024-10-08 23:15:28 -05:00 committed by marcin mikołajczak
parent 9cec2324a0
commit 973fb0c84b
3 changed files with 2 additions and 9 deletions

View file

@ -116,7 +116,6 @@
"react-error-boundary": "^4.0.11",
"react-helmet": "^6.1.0",
"react-hot-toast": "^2.4.0",
"react-immutable-pure-component": "^2.2.2",
"react-inlinesvg": "^4.0.0",
"react-intl": "^6.7.0",
"react-motion": "^0.5.2",

View file

@ -1,7 +1,6 @@
import clsx from 'clsx';
import { List as ImmutableList } from 'immutable';
import React from 'react';
import ImmutablePureComponent from 'react-immutable-pure-component';
import React, { PureComponent } from 'react';
import AutosuggestEmoji from 'pl-fe/components/autosuggest-emoji';
import Icon from 'pl-fe/components/icon';
@ -35,7 +34,7 @@ interface IAutosuggestInput extends Pick<React.HTMLAttributes<HTMLInputElement>,
theme?: InputThemes;
}
class AutosuggestInput extends ImmutablePureComponent<IAutosuggestInput> {
class AutosuggestInput extends PureComponent<IAutosuggestInput> {
static defaultProps = {
autoFocus: false,

View file

@ -8670,11 +8670,6 @@ react-hot-toast@^2.4.0:
dependencies:
goober "^2.1.10"
react-immutable-pure-component@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/react-immutable-pure-component/-/react-immutable-pure-component-2.2.2.tgz#3014d3e20cd5a7a4db73b81f1f1464f4d351684b"
integrity sha512-vkgoMJUDqHZfXXnjVlG3keCxSO/U6WeDQ5/Sl0GK2cH8TOxEzQ5jXqDXHEL/jqk6fsNxV05oH5kD7VNMUE2k+A==
react-inlinesvg@^4.0.0:
version "4.1.3"
resolved "https://registry.yarnpkg.com/react-inlinesvg/-/react-inlinesvg-4.1.3.tgz#671f083fd78934ec58afa5128460252dcae61177"