decord/source/modules/user_profile/utils/getCurrentUserProfile.tsx
2026-07-24 07:16:23 +00:00

23 lines
719 B
TypeScript

// Module ID: 9813
// Function ID: 76246
// Name: getCurrentUserProfile
// Dependencies: [1849, 6855, 2]
// Exports: default
// Module 9813 (getCurrentUserProfile)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import closure_1 from "_isNativeReflectConstruct";
const result = require("set").fileFinishedImporting("modules/user_profile/utils/getCurrentUserProfile.tsx");
export default function getCurrentUserProfile(arg0) {
let id = currentUser.getCurrentUser();
if (null == id) {
return null;
} else if (null != arg0) {
id = id.id;
let guildMemberProfile = authStore.getGuildMemberProfile(id, arg0);
} else {
guildMemberProfile = authStore.getUserProfile(id.id);
}
};