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(" ")