Fix react warnings (#317)

* Remove unused imports

* Fix === warnings

* Remove unnecessary escape character

* Add alt text for images

* Add missing alt text

* Remove unused variable

* Change scrubber buttons from anchors

* Change folder select anchor to button

* Replace anchors with buttons

* Add missing useEffect dependencies

* Refactor filter debounce

* Throw error object

* Update dependencies

* Fix === warning
This commit is contained in:
WithoutPants
2020-01-17 05:36:38 +11:00
committed by Leopere
parent cf96cae4c8
commit 66b4f6db4f
46 changed files with 132 additions and 178 deletions

View File

@@ -7,16 +7,14 @@ import {
Elevation,
H4,
Popover,
Tag,
} from "@blueprintjs/core";
import React, { FunctionComponent, RefObject, useEffect, useRef, useState } from "react";
import React, { FunctionComponent, useState } from "react";
import { Link } from "react-router-dom";
import * as GQL from "../../core/generated-graphql";
import { VideoHoverHook } from "../../hooks/VideoHover";
import { ColorUtils } from "../../utils/color";
import { TextUtils } from "../../utils/text";
import { TagLink } from "../Shared/TagLink";
import { SceneHelpers } from "./helpers";
import { ZoomUtils } from "../../utils/zoom";
import { StashService } from "../../core/StashService";