diff --git a/app/javascript/flavours/glitch/components/display_name.tsx b/app/javascript/flavours/glitch/components/display_name.tsx index bfd33a2a7..a82cfe01b 100644 --- a/app/javascript/flavours/glitch/components/display_name.tsx +++ b/app/javascript/flavours/glitch/components/display_name.tsx @@ -4,7 +4,6 @@ import React from "react"; import classNames from "classnames"; import ImmutablePropTypes from "react-immutable-proptypes"; -import ImmutablePureComponent from "react-immutable-pure-component"; import { type List } from "immutable"; @@ -21,7 +20,7 @@ interface Props { inline?: boolean, } -export class DisplayName extends ImmutablePureComponent { +export class DisplayName extends React.PureComponent { static propTypes = { onChange: PropTypes.func.isRequired, nameLayout: ImmutablePropTypes.map.isRequired,