chore: fix eslint warnings
This commit is contained in:
parent
0d4b1656d6
commit
9dbbc9b431
2 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||
|
|
|
@ -50,7 +50,7 @@ export default function Search(props: Props) {
|
|||
.then((results) => {
|
||||
setResults(results);
|
||||
});
|
||||
}, [searchQuery]);
|
||||
}, [searchQuery, props.comic.id]);
|
||||
|
||||
return (
|
||||
<main className='p-4'>
|
||||
|
|
Loading…
Reference in a new issue