decord/source/design/components/Text/native/useManaTextMigrationHighlightRestartNotice.tsx

28 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 14904
// Function ID: 14905
2026-07-23 10:11:24 +00:00
// Name: useManaTextMigrationHighlightRestartNotice
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 4254, 589, 4594, 2]
2026-07-23 10:11:24 +00:00
// Exports: useManaTextMigrationHighlightRestartNotice
2026-08-05 07:35:12 +00:00
// Module 14904 (useManaTextMigrationHighlightRestartNotice)
2026-07-29 08:29:29 +00:00
import noop from "noop";
import getUserAgnosticState from "getUserAgnosticState";
2026-07-23 10:11:24 +00:00
const require = arg1;
const result = require("initialize").fileFinishedImporting("design/components/Text/native/useManaTextMigrationHighlightRestartNotice.tsx");
export const useManaTextMigrationHighlightRestartNotice = function useManaTextMigrationHighlightRestartNotice() {
2026-07-29 08:29:29 +00:00
const items = [getUserAgnosticState];
const stateFromStores = _require(589).useStateFromStores(items, () => getUserAgnosticState.get("highlight_mana_text"));
2026-07-23 10:11:24 +00:00
_require = React.useRef(true);
const items1 = [stateFromStores];
const effect = React.useEffect(() => {
if (ref.current) {
2026-07-29 08:29:29 +00:00
tmp.current = false;
2026-07-23 10:11:24 +00:00
} else {
outer1_1(outer1_2[3]).show({ title: "Mana Text Migration Highlighter", body: "Restart the app (force quit and reopen) to see the change." });
const obj = outer1_1(outer1_2[3]);
}
}, items1);
};