correct sort order of css properties
mocking of fetch api only once in setupTests
This commit is contained in:
@ -3,6 +3,9 @@ import Preview from "../Preview/Preview";
|
||||
import style from "./VideoContainer.module.css"
|
||||
|
||||
class VideoContainer extends React.Component {
|
||||
// stores current index of loaded elements
|
||||
loadindex = 0;
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
|
||||
@ -14,9 +17,6 @@ class VideoContainer extends React.Component {
|
||||
};
|
||||
}
|
||||
|
||||
// stores current index of loaded elements
|
||||
loadindex = 0;
|
||||
|
||||
componentDidMount() {
|
||||
document.addEventListener('scroll', this.trackScrolling);
|
||||
|
||||
|
Reference in New Issue
Block a user