This commit is contained in:
He4eT 2023-05-21 16:46:30 +03:00 committed by Alexey
commit 7a96d99055
21 changed files with 174 additions and 170 deletions

View file

@ -3,7 +3,7 @@ import { Link } from 'wouter-preact'
import {
useHashLocation,
buildPlayLinkHref
buildPlayLinkHref,
} from '~/src/utils/utils.routing'
import LocalFileSelector from
@ -15,7 +15,7 @@ import ThemeSelector from
import './HomeView.css'
export default function ({ themeEngine }) {
export default function HomeView ({ themeEngine }) {
const setLocation = useHashLocation()[1]
return (
@ -46,7 +46,7 @@ export default function ({ themeEngine }) {
</h2>
<ThemeSelector {...{
themeEngine
themeEngine,
}} />
<p>
@ -97,7 +97,7 @@ export default function ({ themeEngine }) {
<LocalFileSelector {...{
setLocation,
buildLink: buildPlayLinkHref,
theme: themeEngine.currentTheme
theme: themeEngine.currentTheme,
}} />
</label>
</p>
@ -108,7 +108,7 @@ export default function ({ themeEngine }) {
<TargetURLSelector {...{
setLocation,
buildLink: buildPlayLinkHref,
theme: themeEngine.currentTheme
theme: themeEngine.currentTheme,
}} />
</label>
</p>