correct sort order of css properties

mocking of fetch api only once in setupTests
This commit is contained in:
2020-08-05 17:55:51 +00:00
parent 748f0410de
commit f80554bfdd
26 changed files with 155 additions and 195 deletions

View File

@@ -1,5 +1,5 @@
import React from "react";
import SideBar, {SideBarTitle, SideBarItem} from "../../elements/SideBar/SideBar";
import SideBar, {SideBarItem, SideBarTitle} from "../../elements/SideBar/SideBar";
import Tag from "../../elements/Tag/Tag";
import VideoContainer from "../../elements/VideoContainer/VideoContainer";
@@ -7,6 +7,9 @@ import style from "./HomePage.module.css"
import PageTitle from "../../elements/PageTitle/PageTitle";
class HomePage extends React.Component {
/** keyword variable needed temporary store search keyword */
keyword = "";
constructor(props, context) {
super(props, context);
@@ -24,9 +27,6 @@ class HomePage extends React.Component {
};
}
/** keyword variable needed temporary store search keyword */
keyword = "";
componentDidMount() {
// initial get of all videos
this.fetchVideoData("all");