mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 17:37:21 +00:00
Linting
This commit is contained in:
parent
f7b8691a50
commit
3cc2818f40
3 changed files with 21 additions and 13 deletions
|
|
@ -5,7 +5,7 @@ import UrlPlayer from '~/src/components/player/UrlPlayer'
|
|||
|
||||
const decode = encodedUrl => decodeURIComponent(encodedUrl)
|
||||
|
||||
export default function ({setTheme, theme, encodedUrl}) {
|
||||
export default function ({ setTheme, theme, encodedUrl }) {
|
||||
useEffect(() => setTheme(theme), [theme])
|
||||
|
||||
const [targetUrl, setTargetUrl] = useState(decode(encodedUrl))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue