mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 17:37:21 +00:00
eslint fix
This commit is contained in:
parent
1e1614706a
commit
1e0b16361f
10 changed files with 25 additions and 23 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue