Reduce differences with upstream due to import style (#2465)

Fix relative / VS absolute style imports, and fix whitespace discrepancies
This commit is contained in:
Claire
2023-11-15 12:01:51 +01:00
committed by GitHub
parent f7d3b74e03
commit a97b722ad5
120 changed files with 379 additions and 438 deletions

View File

@@ -3,6 +3,7 @@ import { cloneElement, Component } from 'react';
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'];
@@ -38,7 +39,6 @@ export default class IntersectionObserverArticle extends Component {
return true;
}
componentDidMount () {
const { intersectionObserverWrapper, id } = this.props;