[chore] undo change to Immutable
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user