refactor shared utils to more obviously separate contexts

This commit is contained in:
Vendicated 2024-03-13 21:59:09 +01:00
parent 9aa205b5ec
commit afdcf0edb9
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
21 changed files with 32 additions and 33 deletions

View file

@ -20,8 +20,8 @@ import { NavContextMenuPatchCallback } from "@api/ContextMenu";
import { definePluginSettings } from "@api/Settings";
import { disableStyle, enableStyle } from "@api/Styles";
import { makeRange } from "@components/PluginSettings/components";
import { debounce } from "@shared/debounce";
import { Devs } from "@utils/constants";
import { debounce } from "@utils/debounce";
import definePlugin, { OptionType } from "@utils/types";
import { Menu, React, ReactDOM } from "@webpack/common";
import type { Root } from "react-dom/client";