diff --git a/src/components/FileSelector/LocalFileSelector.jsx b/src/components/FileSelector/LocalFileSelector.jsx index f62f9cf..85189d4 100644 --- a/src/components/FileSelector/LocalFileSelector.jsx +++ b/src/components/FileSelector/LocalFileSelector.jsx @@ -1,5 +1,3 @@ -import { h } from 'preact' - export default function LocalFileSelector ({ theme, setLocation, buildLink }) { const fileInputHandler = ({ target }) => { const file = target.files[0] diff --git a/src/components/FileSelector/TargetURLSelector.jsx b/src/components/FileSelector/TargetURLSelector.jsx index 990983e..f0047fb 100644 --- a/src/components/FileSelector/TargetURLSelector.jsx +++ b/src/components/FileSelector/TargetURLSelector.jsx @@ -1,5 +1,3 @@ -import { h } from 'preact' - export default function TargetURLSelector ({ theme, setLocation, buildLink }) { const urlRE = /^(http|https):\/\/[^ "]+$/ diff --git a/src/components/GameEntry/GameEntry.jsx b/src/components/GameEntry/GameEntry.jsx index b411eaf..9cb6d3d 100644 --- a/src/components/GameEntry/GameEntry.jsx +++ b/src/components/GameEntry/GameEntry.jsx @@ -1,4 +1,3 @@ -import { h } from 'preact' import { Link } from 'wouter-preact' import { diff --git a/src/components/Player/InputBox/InputBox.jsx b/src/components/Player/InputBox/InputBox.jsx index b33bed3..d82c400 100644 --- a/src/components/Player/InputBox/InputBox.jsx +++ b/src/components/Player/InputBox/InputBox.jsx @@ -1,4 +1,3 @@ -import { h } from 'preact' import { useEffect, useRef, useState } from 'preact/hooks' import MenuButton from './MenuButton/MenuButton' diff --git a/src/components/Player/InputBox/MenuButton/MenuButton.jsx b/src/components/Player/InputBox/MenuButton/MenuButton.jsx index 6f95507..fa106f2 100644 --- a/src/components/Player/InputBox/MenuButton/MenuButton.jsx +++ b/src/components/Player/InputBox/MenuButton/MenuButton.jsx @@ -1,5 +1,3 @@ -import { h } from 'preact' - import * as s from './MenuButton.module.scss' export default function MenuButton ({ onClick }) { diff --git a/src/components/Player/OutputBox/GridBuffer.jsx b/src/components/Player/OutputBox/GridBuffer.jsx index 5051719..a67c883 100644 --- a/src/components/Player/OutputBox/GridBuffer.jsx +++ b/src/components/Player/OutputBox/GridBuffer.jsx @@ -1,4 +1,3 @@ -import { h } from 'preact' import { useEffect, useState } from 'preact/hooks' import TextMessage from './TextMessage' diff --git a/src/components/Player/OutputBox/TextBuffer.jsx b/src/components/Player/OutputBox/TextBuffer.jsx index 4a10266..7a06806 100644 --- a/src/components/Player/OutputBox/TextBuffer.jsx +++ b/src/components/Player/OutputBox/TextBuffer.jsx @@ -1,4 +1,3 @@ -import { h } from 'preact' import { useEffect, useRef, useState } from 'preact/hooks' import TextMessage from './TextMessage' diff --git a/src/components/Player/OutputBox/TextMessage.jsx b/src/components/Player/OutputBox/TextMessage.jsx index e9e1e0b..caba6b2 100644 --- a/src/components/Player/OutputBox/TextMessage.jsx +++ b/src/components/Player/OutputBox/TextMessage.jsx @@ -1,5 +1,3 @@ -import { h } from 'preact' - export default function TextMessage ({ style, text }) { const defaultContent = ( diff --git a/src/components/Player/Player.jsx b/src/components/Player/Player.jsx index a9c851d..7b66344 100644 --- a/src/components/Player/Player.jsx +++ b/src/components/Player/Player.jsx @@ -1,4 +1,3 @@ -import { h } from 'preact' import { useState, useEffect } from 'preact/hooks' import CheapGlkOte from 'cheap-glkote' diff --git a/src/components/Player/Status/Status.jsx b/src/components/Player/Status/Status.jsx index 7f01aaf..0eccdd1 100644 --- a/src/components/Player/Status/Status.jsx +++ b/src/components/Player/Status/Status.jsx @@ -1,4 +1,3 @@ -import { h } from 'preact' import { Link } from 'wouter-preact' const fail = (details) => ( diff --git a/src/components/Player/UrlPlayer.jsx b/src/components/Player/UrlPlayer.jsx index d078111..f593a6f 100644 --- a/src/components/Player/UrlPlayer.jsx +++ b/src/components/Player/UrlPlayer.jsx @@ -1,4 +1,3 @@ -import { h } from 'preact' import { useState, useEffect } from 'preact/hooks' import { engineByFilename } from './common/engines' diff --git a/src/components/ThemeSelector/ThemeSelector.jsx b/src/components/ThemeSelector/ThemeSelector.jsx index dfd84b8..2dcbaaa 100644 --- a/src/components/ThemeSelector/ThemeSelector.jsx +++ b/src/components/ThemeSelector/ThemeSelector.jsx @@ -1,5 +1,3 @@ -import { h } from 'preact' - export default function ThemeSelector ({ themeEngine }) { const options = themeEngine.themes.map((theme) => (