From 08d320b53adf3c8ea6dcfc545ef72a449cee749c Mon Sep 17 00:00:00 2001 From: Wolfie <32025746+Wolfkid200444@users.noreply.github.com> Date: Sat, 22 Jun 2024 12:51:24 -0400 Subject: [PATCH] Fix HN after discord update --- src/plugins/holynotes/components/modals/HelpModal.tsx | 3 +-- .../holynotes/components/modals/NoteBookTab.tsx | 9 ++++++--- src/plugins/holynotes/components/modals/Notebook.tsx | 2 +- .../components/modals/NotebookCreateModal.tsx | 4 ++-- .../components/modals/NotebookDeleteModal.tsx | 2 +- .../holynotes/components/modals/RenderMessage.tsx | 11 +++++++---- src/plugins/holynotes/index.tsx | 3 +-- src/plugins/holynotes/noteHandler.ts | 3 --- src/plugins/holynotes/utils.ts | 3 ++- 9 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/plugins/holynotes/components/modals/HelpModal.tsx b/src/plugins/holynotes/components/modals/HelpModal.tsx index 9899a333d..508273171 100644 --- a/src/plugins/holynotes/components/modals/HelpModal.tsx +++ b/src/plugins/holynotes/components/modals/HelpModal.tsx @@ -8,7 +8,7 @@ import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, M import { findByProps } from "@webpack"; import { Button, Forms, Text } from "@webpack/common"; -import noteHandler from "../../noteHandler"; +import noteHandler from "../../NoteHandler"; import { downloadNotes, uploadNotes } from "../../utils"; export default ({ onClose, ...modalProps }: ModalProps & { onClose: () => void; }) => { @@ -62,7 +62,6 @@ export default ({ onClose, ...modalProps }: ModalProps & { onClose: () => void; onClick={() => { noteHandler.refreshAvatars(); }}>Refresh Avatars -