eslint fix

This commit is contained in:
He4eT 2021-07-22 14:49:31 +05:00
commit 1e0b16361f
10 changed files with 25 additions and 23 deletions

View file

@ -21,7 +21,7 @@ export default function () {
<h1>
<a
target='_blank'
rel='noopener'
rel='noopener noreferrer'
href='https://ifdb.org/'
title='The Interactive Fiction Database'>
IFDB
@ -60,21 +60,21 @@ export default function () {
<p>
<a
target='_blank'
rel='noopener'
rel='noopener noreferrer'
href='https://ifdb.org/search?comp&sortby=awn&searchfor=series%3AInteractive+Fiction+Top+50+of+All+Time'>
Every four years </a>, Victor Gijsbers puts
together a list of the top 50 IF games of all time.
Here is an almost complete version of the <a
target='_blank'
rel='noopener'
rel='noopener noreferrer'
href='https://ifdb.org/viewcomp?id=1lv599reviaxvwo7'>
list for 2019</a>:
</p>
<ol>
{top2019.map(game => (
<li>
<li key={game[0]}>
<GameEntry {...{
...game
}} />

View file

@ -31,7 +31,7 @@ export default function ({ themeEngine }) {
<br />
Source code can be found in this <a
target='_blank'
rel='noopener'
rel='noopener noreferrer'
href='https://github.com/He4eT/ifplayer'>
repository
</a>.

View file

@ -17,7 +17,7 @@ export default () => (
|
<a
target='_blank'
rel='noopener'
rel='noopener noreferrer'
href='https://github.com/He4eT/ifplayer/issues'>
Report bug
</a>

View file

@ -10,7 +10,7 @@ const decode = encodedUrl => decodeURIComponent(encodedUrl)
export default function ({
setTheme, theme, encodedUrl, singleWindow
}) {
useEffect(() => setTheme(theme), [theme])
useEffect(() => setTheme(theme), [setTheme, theme])
const [targetUrl, setTargetUrl] = useState(decode(encodedUrl))