fix lint
This commit is contained in:
parent
cfa6efc6ed
commit
94d944bd68
25 changed files with 131 additions and 118 deletions
|
|
@ -10,9 +10,9 @@ import { astClasses } from "../context";
|
|||
* @see https://www.npmjs.com/package/@yozora/tokenizer-inline-code
|
||||
*/
|
||||
export class InlineCodeRenderer extends React.Component<InlineCode> {
|
||||
public override shouldComponentUpdate(nextProps: Readonly<InlineCode>): boolean {
|
||||
const props = this.props;
|
||||
return props.value !== nextProps.value;
|
||||
public override shouldComponentUpdate(nextProperties: Readonly<InlineCode>): 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