mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
components: remove redundant h import
This commit is contained in:
parent
ee752b91e2
commit
0d0e42a26a
17 changed files with 0 additions and 22 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
import { useEffect, useRef, useState } from 'preact/hooks'
|
||||
|
||||
import MenuButton from './MenuButton/MenuButton'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
|
||||
import * as s from './MenuButton.module.scss'
|
||||
|
||||
export default function MenuButton ({ onClick }) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
import { useEffect, useState } from 'preact/hooks'
|
||||
|
||||
import TextMessage from './TextMessage'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
import { useEffect, useRef, useState } from 'preact/hooks'
|
||||
|
||||
import TextMessage from './TextMessage'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
|
||||
export default function TextMessage ({ style, text }) {
|
||||
const defaultContent = (
|
||||
<span className={['message', style].join(' ')}>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
import { useState, useEffect } from 'preact/hooks'
|
||||
|
||||
import CheapGlkOte from 'cheap-glkote'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
import { Link } from 'wouter-preact'
|
||||
|
||||
const fail = (details) => (
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import { h } from 'preact'
|
||||
import { useState, useEffect } from 'preact/hooks'
|
||||
|
||||
import { engineByFilename } from './common/engines'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue