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:
parent
c1a2ec1785
commit
52a7b70617
6 changed files with 12 additions and 9 deletions
|
@ -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");
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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("");
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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 = ({
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue