Files
discord-decomp/modules/gesture_handlers/native/RNGHMountReactionsBridge.native.tsx
T
2026-11-01 12:12:55 +02:00

13 lines
456 B
TypeScript

// Metro module 16761 (f16762).
import { RNGHMountReactionsEffectExperiment } from "./RNGHMountReactionsEffectExperiment";
let c12071_3 = false;
export function installRNGHMountReactionsBridge() {
if (!c12071_3) {
global.__DISCORD_RNGH_USE_LAYOUT_EFFECT__ = RNGHMountReactionsEffectExperiment.getConfig({
location: "rngh-mount-reactions"
}).useLayoutEffect;
global.__DISCORD_RNGH_ON_STALE_MOUNT__ = () => {};
c12071_3 = true;
}
}