1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-25 08:46:25 +00:00

Update imports to be Hardcoded

This commit is contained in:
Wolfie 2024-05-20 08:55:22 -04:00
parent c1a2ec1785
commit 52a7b70617
No known key found for this signature in database
GPG key ID: DE384EE9BF2D909A
6 changed files with 12 additions and 9 deletions

View file

@ -7,8 +7,9 @@
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
import { findByProps } from "@webpack";
import { Button, Forms, Text } from "@webpack/common";
import noteHandler from "plugins/holynotes/noteHandler";
import { downloadNotes, uploadNotes } from "plugins/holynotes/utils";
import noteHandler from "../../noteHandler";
import { downloadNotes, uploadNotes } from "../../utils";
export default ({ onClose, ...modalProps }: ModalProps & { onClose: () => void; }) => {
const { colorStatusGreen } = findByProps("colorStatusGreen");

View file

@ -9,9 +9,9 @@ import { classes } from "@utils/misc";
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize, openModal } from "@utils/modal";
import { findByProps } from "@webpack";
import { ContextMenuApi, Flex, FluxDispatcher, Menu, React, Text, TextInput } from "@webpack/common";
import noteHandler from "plugins/holynotes/noteHandler";
import { HolyNotes } from "plugins/holynotes/types";
import noteHandler from "../../noteHandler";
import { HolyNotes } from "../../types";
import HelpIcon from "../icons/HelpIcon";
import Errors from "./Error";
import HelpModal from "./HelpModal";

View file

@ -6,7 +6,8 @@
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
import { Button, React, Text, TextInput } from "@webpack/common";
import noteHandler from "plugins/holynotes/noteHandler";
import noteHandler from "../../noteHandler";
export default (props: ModalProps & { onClose: () => void }) => {
const [notebookName, setNotebookName] = React.useState("");

View file

@ -7,8 +7,8 @@
import ErrorBoundary from "@components/ErrorBoundary";
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
import { Button, React, Text } from "@webpack/common";
import noteHandler from "plugins/holynotes/noteHandler";
import noteHandler from "../../noteHandler";
import Error from "./Error";
import { RenderMessage } from "./RenderMessage";

View file

@ -8,8 +8,9 @@ import { classes } from "@utils/misc";
import { ModalProps } from "@utils/modal";
import { findByCode, findByProps } from "@webpack";
import { Clipboard, ContextMenuApi, FluxDispatcher, Menu, NavigationRouter, React } from "@webpack/common";
import noteHandler from "plugins/holynotes/noteHandler";
import { HolyNotes } from "plugins/holynotes/types";
import noteHandler from "../../noteHandler";
import { HolyNotes } from "../../types";
export const RenderMessage = ({

View file

@ -6,10 +6,10 @@
import { createStore } from "@api/DataStore";
import { DataStore } from "@api/index";
import { Toasts } from "@webpack/common";
import noteHandler, { noteHandlerCache } from "./noteHandler";
import { HolyNotes } from "./types";
import { Toasts } from "@webpack/common";
export const HolyNoteStore = createStore("HolyNoteData", "HolyNoteStore");