chore: fix eslint warnings

This commit is contained in:
Ashhhleyyy 2022-08-01 17:24:10 +01:00
parent 0d4b1656d6
commit 9dbbc9b431
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 3 additions and 1 deletions

View file

@ -18,6 +18,7 @@ export default function HighlightComic(props: Props) {
src={props.page.imageUrl}
width={props.page.width}
height={props.page.height}
alt={props.page.title}
style={{
position: 'absolute',
top: 0,
@ -29,6 +30,7 @@ export default function HighlightComic(props: Props) {
props.highlightedBubbles.map((bubble) => {
return (
<div
key={bubble}
className='box-border'
style={{
border: `1.5px dashed ${randomColour(

View file

@ -50,7 +50,7 @@ export default function Search(props: Props) {
.then((results) => {
setResults(results);
});
}, [searchQuery]);
}, [searchQuery, props.comic.id]);
return (
<main className='p-4'>