mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 14:43:03 -04:00
Fixes
This commit is contained in:
parent
7da91d94d8
commit
783efc2f64
8 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "./index.css";
|
import "./style.css";
|
||||||
|
|
||||||
import { definePluginSettings } from "@api/Settings";
|
import { definePluginSettings } from "@api/Settings";
|
||||||
import { makeRange } from "@components/PluginSettings/components";
|
import { makeRange } from "@components/PluginSettings/components";
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, M
|
||||||
import { findByProps } from "@webpack";
|
import { findByProps } from "@webpack";
|
||||||
import { Button, Forms, Text } from "@webpack/common";
|
import { Button, Forms, Text } from "@webpack/common";
|
||||||
|
|
||||||
import noteHandler from "../../noteHandler";
|
import noteHandler from "../../NoteHandler";
|
||||||
import { downloadNotes, uploadNotes } from "../../utils";
|
import { downloadNotes, uploadNotes } from "../../utils";
|
||||||
|
|
||||||
export default ({ onClose, ...modalProps }: ModalProps & { onClose: () => void; }) => {
|
export default ({ onClose, ...modalProps }: ModalProps & { onClose: () => void; }) => {
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, M
|
||||||
import { findByProps } from "@webpack";
|
import { findByProps } from "@webpack";
|
||||||
import { ContextMenuApi, Flex, FluxDispatcher, Menu, React, Text, TextInput } from "@webpack/common";
|
import { ContextMenuApi, Flex, FluxDispatcher, Menu, React, Text, TextInput } from "@webpack/common";
|
||||||
|
|
||||||
import noteHandler from "../../noteHandler";
|
import noteHandler from "../../NoteHandler";
|
||||||
import { HolyNotes } from "../../types";
|
import { HolyNotes } from "../../types";
|
||||||
import HelpIcon from "../icons/HelpIcon";
|
import HelpIcon from "../icons/HelpIcon";
|
||||||
import Errors from "./Error";
|
import Errors from "./Error";
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
|
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
|
||||||
import { Button, React, Text, TextInput } from "@webpack/common";
|
import { Button, React, Text, TextInput } from "@webpack/common";
|
||||||
|
|
||||||
import noteHandler from "../../noteHandler";
|
import noteHandler from "../../NoteHandler";
|
||||||
|
|
||||||
export default (props: ModalProps & { onClose: () => void; }) => {
|
export default (props: ModalProps & { onClose: () => void; }) => {
|
||||||
const [notebookName, setNotebookName] = React.useState("");
|
const [notebookName, setNotebookName] = React.useState("");
|
||||||
|
|
|
@ -8,7 +8,7 @@ import ErrorBoundary from "@components/ErrorBoundary";
|
||||||
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
|
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
|
||||||
import { Button, React, Text } from "@webpack/common";
|
import { Button, React, Text } from "@webpack/common";
|
||||||
|
|
||||||
import noteHandler from "../../noteHandler";
|
import noteHandler from "../../NoteHandler";
|
||||||
import Error from "./Error";
|
import Error from "./Error";
|
||||||
import { RenderMessage } from "./RenderMessage";
|
import { RenderMessage } from "./RenderMessage";
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { ModalProps } from "@utils/modal";
|
||||||
import { findByCode, findByProps } from "@webpack";
|
import { findByCode, findByProps } from "@webpack";
|
||||||
import { Clipboard, ContextMenuApi, FluxDispatcher, Menu, NavigationRouter, React } from "@webpack/common";
|
import { Clipboard, ContextMenuApi, FluxDispatcher, Menu, NavigationRouter, React } from "@webpack/common";
|
||||||
|
|
||||||
import noteHandler from "../../noteHandler";
|
import noteHandler from "../../NoteHandler";
|
||||||
import { HolyNotes } from "../../types";
|
import { HolyNotes } from "../../types";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ import { Message } from "discord-types/general";
|
||||||
|
|
||||||
import { Popover as NoteButtonPopover, Popover } from "./components/icons/NoteButton";
|
import { Popover as NoteButtonPopover, Popover } from "./components/icons/NoteButton";
|
||||||
import { NoteModal } from "./components/modals/Notebook";
|
import { NoteModal } from "./components/modals/Notebook";
|
||||||
import noteHandler, { noteHandlerCache } from "./noteHandler";
|
import noteHandler, { noteHandlerCache } from "./NoteHandler";
|
||||||
import { DataStoreToCache, HolyNoteStore } from "./utils";
|
import { DataStoreToCache, HolyNoteStore } from "./utils";
|
||||||
|
|
||||||
const HeaderBarIcon = findExportedComponentLazy("Icon", "Divider");
|
const HeaderBarIcon = findExportedComponentLazy("Icon", "Divider");
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { createStore } from "@api/DataStore";
|
||||||
import { DataStore } from "@api/index";
|
import { DataStore } from "@api/index";
|
||||||
import { Toasts } from "@webpack/common";
|
import { Toasts } from "@webpack/common";
|
||||||
|
|
||||||
import noteHandler, { noteHandlerCache } from "./noteHandler";
|
import noteHandler, { noteHandlerCache } from "./NoteHandler";
|
||||||
import { HolyNotes } from "./types";
|
import { HolyNotes } from "./types";
|
||||||
|
|
||||||
export const HolyNoteStore = createStore("HolyNoteData", "HolyNoteStore");
|
export const HolyNoteStore = createStore("HolyNoteData", "HolyNoteStore");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue