Commit cfa80630 authored by nikogu's avatar nikogu

Fixed Ellipsis PureComponent -> Component

parent be80a72a
import React, { PureComponent } from 'react';
import React, { Component } from 'react';
import { Tooltip } from 'antd';
import classNames from 'classnames';
import styles from './index.less';
......@@ -32,7 +32,7 @@ const EllipsisText = ({ text, length, tooltip, ...other }) => {
);
};
export default class Ellipsis extends PureComponent {
export default class Ellipsis extends Component {
state = {
lineHeight: 0,
text: '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment