fix: remove unuse

This commit is contained in:
手瓜一十雪 2024-05-05 13:42:43 +08:00
parent 9fce617c57
commit 07e8acd003

View File

@ -3,9 +3,7 @@ import { SettingItem } from "./SettingItem";
import { SettingButton } from "./SettingButton";
import { SettingSwitch } from "./SettingSwitch";
import { SettingSelect } from "./SettingSelect";
function aprilFoolsEgg(node: Element) {
async function onSettingWindowCreated(view: Element) {
async function onSettingWindowCreated(view: Element) {
const isEmpty = (value: any) => value === undefined || value === undefined || value === ''
//@ts-ignore 等待替换为异步Http获取 带上Token
let config = await window.llonebot.getConfig();
@ -414,6 +412,5 @@ function aprilFoolsEgg(node: Element) {
//@ts-ignore 等待替换为前端实现
window.llonebot.setConfig(true, config)
})
}
}
export { onSettingWindowCreated }