decord/source/design/components/Text/native/useManaTextMigrationHighlightRestartNotice.tsx
2026-08-05 07:35:12 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 14904
// Function ID: 14905
// Name: useManaTextMigrationHighlightRestartNotice
// Dependencies: [19, 4254, 589, 4594, 2]
// Exports: useManaTextMigrationHighlightRestartNotice
// Module 14904 (useManaTextMigrationHighlightRestartNotice)
import noop from "noop";
import getUserAgnosticState from "getUserAgnosticState";
const require = arg1;
const result = require("initialize").fileFinishedImporting("design/components/Text/native/useManaTextMigrationHighlightRestartNotice.tsx");
export const useManaTextMigrationHighlightRestartNotice = function useManaTextMigrationHighlightRestartNotice() {
const items = [getUserAgnosticState];
const stateFromStores = _require(589).useStateFromStores(items, () => getUserAgnosticState.get("highlight_mana_text"));
_require = React.useRef(true);
const items1 = [stateFromStores];
const effect = React.useEffect(() => {
if (ref.current) {
tmp.current = false;
} 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);
};