decord/source/design/components/Text/native/useManaTextMigrationHighlightRestartNotice.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 15710
// Function ID: 15711
// Name: useManaTextMigrationHighlightRestartNotice
// Dependencies: [19, 4559, 504, 4905, 2]
// Exports: useManaTextMigrationHighlightRestartNotice
// Module 15710 (useManaTextMigrationHighlightRestartNotice)
import closure_3 from "noop" /* 19 */;
import closure_4 from "getUserAgnosticState" /* 4559 */;
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(504).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);
};