[chore] undo change to Immutable

This commit is contained in:
Zoë Bijl
2025-10-20 18:58:30 +02:00
parent 3cffe98969
commit 4cb3e9c107
@@ -4,7 +4,6 @@ import React from "react";
import classNames from "classnames"; import classNames from "classnames";
import ImmutablePropTypes from "react-immutable-proptypes"; import ImmutablePropTypes from "react-immutable-proptypes";
import ImmutablePureComponent from "react-immutable-pure-component";
import { type List } from "immutable"; import { type List } from "immutable";
@@ -21,7 +20,7 @@ interface Props {
inline?: boolean, inline?: boolean,
} }
export class DisplayName extends ImmutablePureComponent { export class DisplayName extends React.PureComponent<Props> {
static propTypes = { static propTypes = {
onChange: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired,
nameLayout: ImmutablePropTypes.map.isRequired, nameLayout: ImmutablePropTypes.map.isRequired,