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 { Tooltip } from 'antd';
import classNames from 'classnames'; import classNames from 'classnames';
import styles from './index.less'; import styles from './index.less';
...@@ -32,7 +32,7 @@ const EllipsisText = ({ text, length, tooltip, ...other }) => { ...@@ -32,7 +32,7 @@ const EllipsisText = ({ text, length, tooltip, ...other }) => {
); );
}; };
export default class Ellipsis extends PureComponent { export default class Ellipsis extends Component {
state = { state = {
lineHeight: 0, lineHeight: 0,
text: '', 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