Extract styles for views

This commit is contained in:
He4eT 2021-03-02 16:33:17 +05:00
commit e44831db08
6 changed files with 53 additions and 57 deletions

View file

@ -3,6 +3,8 @@ import { useState, useEffect } from 'preact/hooks'
import UrlPlayer from '~/src/components/player/UrlPlayer'
import '~/src/style/views/PlayerView.css'
const decode = encodedUrl => decodeURIComponent(encodedUrl)
export default function ({ setTheme, theme, encodedUrl }) {