decord/source/modules/game_relationships/settings/useIsAllowGameFriendDMsSettingVisible.tsx

19 lines
760 B
TypeScript
Raw Normal View History

// Module ID: 15919
// Function ID: 15920
2026-07-20 16:05:17 +00:00
// Name: useIsAllowGameFriendDMsSettingVisible
// Dependencies: [7672, 504, 2]
2026-07-20 16:05:17 +00:00
// Exports: useIsAllowGameFriendDMsSettingVisible
// Module 15919 (useIsAllowGameFriendDMsSettingVisible)
import initialize from "initialize" /* 504 */;
import GameRelationshipStore from "GameRelationshipStore" /* 7672 */;
2026-07-23 10:11:24 +00:00
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/game_relationships/settings/useIsAllowGameFriendDMsSettingVisible.tsx");
2026-07-20 16:05:17 +00:00
export const useIsAllowGameFriendDMsSettingVisible = function useIsAllowGameFriendDMsSettingVisible() {
const items = [GameRelationshipStore];
2026-08-24 06:08:38 +00:00
return initialize.useStateFromStores(items, () => gameRelationshipCount.getGameRelationshipCount() > 0);
2026-07-20 16:05:17 +00:00
};