[build] upgrade eslint to 9.37.0 (#88)
Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88 Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org> Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import { cloneElement, Component } from 'react';
|
||||
import PropTypes from "prop-types";
|
||||
import { cloneElement, Component } from "react";
|
||||
|
||||
import getRectFromEntry from '../features/ui/util/get_rect_from_entry';
|
||||
import scheduleIdleTask from '../features/ui/util/schedule_idle_task';
|
||||
import getRectFromEntry from "../features/ui/util/get_rect_from_entry";
|
||||
import scheduleIdleTask from "../features/ui/util/schedule_idle_task";
|
||||
|
||||
// Diff these props in the "unrendered" state
|
||||
const updateOnPropsForUnrendered = ['id', 'index', 'listLength', 'cachedHeight'];
|
||||
const updateOnPropsForUnrendered = ["id", "index", "listLength", "cachedHeight"];
|
||||
|
||||
export default class IntersectionObserverArticle extends Component {
|
||||
|
||||
@@ -112,7 +112,7 @@ export default class IntersectionObserverArticle extends Component {
|
||||
ref={this.handleRef}
|
||||
aria-posinset={index + 1}
|
||||
aria-setsize={listLength}
|
||||
style={{ height: `${this.height || cachedHeight}px`, opacity: 0, overflow: 'hidden' }}
|
||||
style={{ height: `${this.height || cachedHeight}px`, opacity: 0, overflow: "hidden" }}
|
||||
data-id={id}
|
||||
tabIndex={-1}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user