mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Linting
This commit is contained in:
parent
c9f42e497a
commit
0474e0355e
6 changed files with 10 additions and 15 deletions
|
|
@ -1,14 +1,14 @@
|
|||
import { h } from 'preact'
|
||||
import { useState, useEffect } from 'preact/hooks'
|
||||
|
||||
import { prepareVM } from '~/src/common/if'
|
||||
import { prepareVM } from './common/if'
|
||||
|
||||
const INITIAL_STATUS = {
|
||||
stage: 'loading',
|
||||
details: 'Loading...'
|
||||
}
|
||||
|
||||
export default function ({url}) {
|
||||
export default function ({ url }) {
|
||||
const [status, setStatus] = useState(INITIAL_STATUS)
|
||||
|
||||
const [vm, setVM] = useState(null)
|
||||
|
|
@ -25,7 +25,6 @@ export default function ({url}) {
|
|||
|
||||
return (
|
||||
<main>
|
||||
{url}
|
||||
{status.details}
|
||||
</main>)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue