Skip to content

Commit

Permalink
ImplicitRelationships: Properly test find
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckyz committed May 5, 2024
1 parent b381922 commit bc68bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/implicitRelationships/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
import { definePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { findByProps, findStoreLazy } from "@webpack";
import { findByPropsLazy, findStoreLazy } from "@webpack";
import { ChannelStore, FluxDispatcher, GuildStore, RelationshipStore, SnowflakeUtils, UserStore } from "@webpack/common";
import { Settings } from "Vencord";

const UserAffinitiesStore = findStoreLazy("UserAffinitiesStore");
const { FriendsSections } = findByPropsLazy("FriendsSections");

interface UserAffinity {
user_id: string;
Expand Down Expand Up @@ -181,7 +182,6 @@ export default definePlugin({
},

start() {
const { FriendsSections } = findByProps("FriendsSections");
FriendsSections.IMPLICIT = "IMPLICIT";
}
});

0 comments on commit bc68bc0

Please sign in to comment.