// Module ID: 11221 // Function ID: 11222 // Name: getCurrentUserProfile // Dependencies: [1371, 7723, 2] // Exports: default // Module 11221 (getCurrentUserProfile) import UserStore from "UserStore" /* 1371 */; import UserProfileStore from "UserProfileStore" /* 7723 */; const size = fn(2); const result = size.fileFinishedImporting("modules/user_profile/utils/getCurrentUserProfile.tsx"); export default function getCurrentUserProfile(guildId) { let id = UserStore.getCurrentUser(); if (null == id) { return null; } else if (null != guildId) { id = id.id; let guildMemberProfile = UserProfileStore.getGuildMemberProfile(id, guildId); } else { guildMemberProfile = UserProfileStore.getUserProfile(id.id); } };