mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-21 15:48:52 -05:00
Fix weird spacing for keywordnotify
This commit is contained in:
parent
3d5d1825f0
commit
569e1734d7
1 changed files with 1 additions and 3 deletions
|
@ -21,7 +21,6 @@ import { Button, ChannelStore, FluxDispatcher, Forms, Select, SelectedChannelSto
|
|||
import { Message, User } from "discord-types/general/index.js";
|
||||
import type { PropsWithChildren } from "react";
|
||||
|
||||
|
||||
type IconProps = JSX.IntrinsicElements["svg"];
|
||||
type KeywordEntry = { regex: string, listIds: Array<string>, listType: ListType, ignoreCase: boolean; };
|
||||
|
||||
|
@ -30,7 +29,6 @@ let currentUser: User;
|
|||
let keywordLog: Array<any> = [];
|
||||
let interceptor: (e: any) => void;
|
||||
|
||||
|
||||
const recentMentionsPopoutClass = findByPropsLazy("recentMentionsPopout");
|
||||
const tabClass = findByPropsLazy("inboxTitle", "tab");
|
||||
const buttonClass = findByPropsLazy("size36");
|
||||
|
@ -172,7 +170,6 @@ function ListTypeSelector({ listType, setListType }: { listType: ListType, setLi
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
function KeywordEntries() {
|
||||
const update = useForceUpdater();
|
||||
const [values] = useState(keywordEntries);
|
||||
|
@ -359,6 +356,7 @@ export default definePlugin({
|
|||
};
|
||||
FluxDispatcher.addInterceptor(interceptor);
|
||||
},
|
||||
|
||||
stop() {
|
||||
const index = FluxDispatcher._interceptors.indexOf(interceptor);
|
||||
if (index > -1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue