17 lines
1.0 KiB
React
17 lines
1.0 KiB
React
/* Metro module 1559; source: unknown; dependencies: [31, 1531] */
|
|
function _fun17512(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17512, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1686:6, offset: 0x00e6e9c3, size: 84 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importAll(31) /* metro dependency 31 */;
|
|
exports.default = usePreventRemoveContext;
|
|
}
|
|
|
|
function usePreventRemoveContext() { // fn#17513, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1686:116, offset: 0x00e6ea17, size: 84 bytes, params: 1, frame: 13
|
|
const value = env0_2.useContext(importDefault(1531) /* metro dependency 1531 */);
|
|
if (value == null) {
|
|
throw new global.Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?");
|
|
}
|
|
return value;
|
|
}
|
|
|