decord/source/design/components/Text/native/useManaTextMigrationHighlightRestartNotice.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 15631
// Function ID: 15632
// Name: useManaTextMigrationHighlightRestartNotice
// Dependencies: [19, 4480, 586, 4866, 2]
// Exports: useManaTextMigrationHighlightRestartNotice
// Module 15631 (useManaTextMigrationHighlightRestartNotice)
import closure_3 from "noop" /* 19 */;
import closure_4 from "getUserAgnosticState" /* 4480 */;
const require = arg1;
const result = require("set").fileFinishedImporting("design/components/Text/native/useManaTextMigrationHighlightRestartNotice.tsx");
export const useManaTextMigrationHighlightRestartNotice = function useManaTextMigrationHighlightRestartNotice() {
const items = [closure_4];
const stateFromStores = _require(586).useStateFromStores(items, () => closure_4.get("highlight_mana_text"));
_require = React.useRef(true);
const items1 = [stateFromStores];
const effect = React.useEffect(() => {
if (ref.current) {
tmp.current = false;
} else {
closure_1_1(closure_1_2[3]).show({ title: "Mana Text Migration Highlighter", body: "Restart the app (force quit and reopen) to see the change." });
const obj = closure_1_1(closure_1_2[3]);
}
}, items1);
};