From 324e34eb720413d4f50aba63b339aeb8daaa52de Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Tue, 15 Nov 2022 20:49:25 +1300 Subject: [PATCH] Remove unused imports --- static/countdown.js | 2 +- static/search-suggestions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/countdown.js b/static/countdown.js index 9ae6b46..ad8d0be 100644 --- a/static/countdown.js +++ b/static/countdown.js @@ -2,7 +2,7 @@ // sample: bandori/wiki/BanG_Dream!_Wikia // sample: ensemble-stars/wiki/The_English_Ensemble_Stars_Wiki -import {h, htm, render, useState, useEffect, createContext, useContext, signal, computed, effect} from "./preact.js" +import {h, htm, render, signal, computed, effect} from "./preact.js" const html = htm.bind(h) const now = signal(Date.now()) diff --git a/static/search-suggestions.js b/static/search-suggestions.js index 1a9a3d3..f4586be 100644 --- a/static/search-suggestions.js +++ b/static/search-suggestions.js @@ -1,4 +1,4 @@ -import {h, htm, render, useState, useEffect, createContext, useContext, signal, computed, effect} from "./preact.js" +import {h, htm, render, signal, computed, effect} from "./preact.js" const html = htm.bind(h) const classNames = classArr => classArr.filter(el => el).join(" ")