26 lines
1.3 KiB
React
26 lines
1.3 KiB
React
/* Metro module 1508; source: unknown; dependencies: [31] */
|
|
function _fun17179(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17179, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1635:6, offset: 0x00e65d42, size: 116 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = importAll(31) /* metro dependency 31 */;
|
|
value = value.createContext({scheduleUpdate: function() {
|
|
var Error = global.Error;
|
|
throw new Error("Couldn't find a schedule context.");
|
|
}, flushUpdates: function() {
|
|
var Error = global.Error;
|
|
throw new Error("Couldn't find a schedule context.");
|
|
}});
|
|
exports.default = useScheduleUpdate;
|
|
exports.ScheduleUpdateContext = value;
|
|
}
|
|
|
|
function useScheduleUpdate(a0) { // fn#17182, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1635:293, offset: 0x00e65dda, size: 56 bytes, params: 2, frame: 13
|
|
const binding = env0_0;
|
|
const value = binding.useContext(env0_1);
|
|
const scheduleUpdate = value.scheduleUpdate;
|
|
const flushUpdates = value.flushUpdates;
|
|
scheduleUpdate(a0);
|
|
binding.useEffect(flushUpdates);
|
|
}
|
|
|