Files
discord-decomp/modules/game_relationships/settings/useIsAllowGameFriendDMsSettingVisible.tsx
T
2026-11-01 12:12:55 +02:00

7 lines
333 B
TypeScript

// Metro module 14678 (f14679).
import GameRelationshipStore from "../GameRelationshipStore";
import { useStateFromStores } from "../../../_bundle/Module589";
export function useIsAllowGameFriendDMsSettingVisible() {
return useStateFromStores([GameRelationshipStore], () => GameRelationshipStore.getGameRelationshipCount() > 0);
}