diff options
author | V <vendicated@riseup.net> | 2023-04-15 04:42:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 04:42:18 +0200 |
commit | 88ad4f1b0597a06695aae4166fb8ac1024f31c4c (patch) | |
tree | 7b77998146f62bc87e70b59d3a8a4309b12d1f7d /src/plugins/invisibleChat/components | |
parent | f75f88786118640dd72b40adf587a725493aa8a0 (diff) | |
download | Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.tar.gz Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.tar.bz2 Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.zip |
SendTimestamps (#891)
Co-authored-by: Tyler Flowers <contact@ggtylerr.dev>
Diffstat (limited to 'src/plugins/invisibleChat/components')
-rw-r--r-- | src/plugins/invisibleChat/components/EncryptionModal.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/invisibleChat/components/EncryptionModal.tsx b/src/plugins/invisibleChat/components/EncryptionModal.tsx index f650f28..c4f1f35 100644 --- a/src/plugins/invisibleChat/components/EncryptionModal.tsx +++ b/src/plugins/invisibleChat/components/EncryptionModal.tsx @@ -24,13 +24,10 @@ import { ModalRoot, openModal, } from "@utils/modal"; -import { findLazy } from "@webpack"; -import { Button, Forms, React, Switch, TextInput } from "@webpack/common"; +import { Button, ComponentDispatch, Forms, React, Switch, TextInput } from "@webpack/common"; import { encrypt } from "../index"; -const ComponentDispatch = findLazy(m => m.emitter?._events?.INSERT_TEXT); - function EncModal(props: ModalProps) { const [secret, setSecret] = React.useState(""); const [cover, setCover] = React.useState(""); |