2026-10-06 22:12:49 +00:00
|
|
|
// Module ID: 6710
|
|
|
|
|
// Function ID: 6711
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: SelfModUtils
|
2026-10-06 22:12:49 +00:00
|
|
|
// Dependencies: [1378, 2]
|
2026-09-18 20:18:48 +00:00
|
|
|
// Exports: isCurrentUserTeen
|
|
|
|
|
|
2026-10-06 22:12:49 +00:00
|
|
|
// Module 6710 (SelfModUtils)
|
|
|
|
|
import UserStore from "UserStore" /* 1378 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-09-18 20:18:48 +00:00
|
|
|
|
|
|
|
|
const result = size.fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
|
|
|
|
|
|
|
|
|
|
export const isCurrentUserTeen = function isCurrentUserTeen() {
|
|
|
|
|
const currentUser = UserStore.getCurrentUser();
|
|
|
|
|
let nsfwAllowed;
|
|
|
|
|
if (currentUser != null) {
|
|
|
|
|
nsfwAllowed = currentUser.nsfwAllowed;
|
|
|
|
|
}
|
|
|
|
|
return false === nsfwAllowed;
|
|
|
|
|
};
|