mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 17:37:21 +00:00
Linting
This commit is contained in:
parent
3288234f36
commit
7a96d99055
21 changed files with 174 additions and 170 deletions
|
|
@ -5,10 +5,10 @@ import UrlPlayer from '~/src/components/Player/UrlPlayer'
|
|||
|
||||
import './PlayerView.css'
|
||||
|
||||
const decode = encodedUrl => decodeURIComponent(encodedUrl)
|
||||
const decode = (encodedUrl) => decodeURIComponent(encodedUrl)
|
||||
|
||||
export default function ({
|
||||
setTheme, theme, encodedUrl, singleWindow
|
||||
export default function PlayerView ({
|
||||
setTheme, theme, encodedUrl, singleWindow,
|
||||
}) {
|
||||
useEffect(() => setTheme(theme), [setTheme, theme])
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ export default function ({
|
|||
<main>
|
||||
<UrlPlayer {...{
|
||||
url: targetUrl,
|
||||
singleWindow
|
||||
singleWindow,
|
||||
}} />
|
||||
</main>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue