fix lint
This commit is contained in:
parent
cfa6efc6ed
commit
94d944bd68
25 changed files with 131 additions and 118 deletions
|
@ -8,9 +8,9 @@ import React from "react";
|
|||
* @see https://www.npmjs.com/package/@yozora/tokenizer-text
|
||||
*/
|
||||
export class TextRenderer extends React.Component<Text> {
|
||||
public override shouldComponentUpdate(nextProps: Readonly<Text>): boolean {
|
||||
const props = this.props;
|
||||
return props.value !== nextProps.value;
|
||||
public override shouldComponentUpdate(nextProperties: Readonly<Text>): boolean {
|
||||
const properties = this.props;
|
||||
return properties.value !== nextProperties.value;
|
||||
}
|
||||
|
||||
public override render(): React.ReactElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue