Fix lint erros

This commit is contained in:
Jordan Eldredge 2022-02-22 17:07:14 -08:00
parent c466445b7f
commit bfe833deab
2 changed files with 4 additions and 5 deletions

View file

@ -111,18 +111,17 @@ export default function DebugSkin({ md5 }) {
</div>
<div style={{ flexGrow: 1 }}>
<div style={{ textAlign: "right", marginBottom: 20 }}>
<a
href="#"
<button
onClick={(e) => {
e.preventDefault();
toggleDebugView();
}}
style={{ color: "blue" }}
>
[close]
</a>
</button>
</div>
<img
alt={`Screenshot of a Winamps skin named "${skin.filename}"`}
style={{
transformOrigin: "top left",
transform: "scale(2)",

View file

@ -103,7 +103,7 @@ export function useWebampAnimation({ initialPosition }) {
export function useQuery(query, variables) {
const [data, setData] = useState(null);
const [loading, setLoading] = useState(true);
const [, setLoading] = useState(true);
useEffect(() => {
let unmounted = false;
Utils.fetchGraphql(query, variables).then((data) => {