style: clean up whackass imports

This commit is contained in:
Lewis Crichton 2023-09-02 18:01:55 +01:00
parent 2ef2baafbe
commit d689b3273b
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View file

@ -7,8 +7,7 @@
import { IpcEvents } from "@utils/IpcEvents";
import { IpcRes } from "@utils/types";
import { ipcRenderer } from "electron";
import type { ThemeHeader } from "./main/themes";
import type { ThemeHeader } from "main/themes";
function invoke<T = any>(event: IpcEvents, ...args: any[]) {
return ipcRenderer.invoke(event, ...args) as Promise<T>;

View file

@ -26,11 +26,11 @@ import { showItemInFolder } from "@utils/native";
import { useAwaiter } from "@utils/react";
import { findByCodeLazy, findByPropsLazy, findLazy } from "@webpack";
import { Button, Card, FluxDispatcher, Forms, React, showToast, TabBar, TextArea, useEffect, useRef, useState } from "@webpack/common";
import type { ThemeHeader } from "main/themes";
import { UserThemeHeader } from "main/themes/bd";
import type { ComponentType, Ref, SyntheticEvent } from "react";
import { UserstyleHeader } from "usercss-meta";
import type { ThemeHeader } from "../../main/themes";
import { AddonCard } from "./AddonCard";
import { SettingsTab, wrapTab } from "./shared";