decord/alpha/source/modules/icymi/useICYMITabBadge.tsx
github-actions 52331fb8ae chore: update source for alpha 349.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
2026-09-30 07:29:52 +00:00

23 lines
721 B
TypeScript

// Module ID: 16233
// Function ID: 16234
// Name: useICYMITabBadge
// Dependencies: [7978, 504, 2]
// Exports: default, icymiTabBadgeShown
// Module 16233 (useICYMITabBadge)
import initialize from "initialize" /* 504 */;
import ICYMIStore from "ICYMIStore" /* 7978 */;
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/icymi/useICYMITabBadge.tsx");
export default function useICYMITabBadge() {
const obj = { value: 0, showDot: null };
const items = [ICYMIStore];
obj.showDot = initialize.useStateFromStores(items, () => ICYMIStore.hasNewContent(), []);
return obj;
};
export const icymiTabBadgeShown = function icymiTabBadgeShown() {
return ICYMIStore.hasNewContent();
};