mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 01:57:29 +00:00
Fix lint erros
This commit is contained in:
parent
c466445b7f
commit
bfe833deab
2 changed files with 4 additions and 5 deletions
|
|
@ -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)",
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue