Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/* Metro module 4033; source: unknown; dependencies: [31, 4030] */
|
||||
function _fun33232(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#33232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4191:6, offset: 0x0102a575, size: 87 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(31) /* metro dependency 31 */).useContext;
|
||||
exports.usePortalState = usePortalState;
|
||||
}
|
||||
|
||||
function usePortalState(a0) { // fn#33233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4191:134, offset: 0x0102a5cc, size: 98 bytes, params: 2, frame: 12
|
||||
const PortalStateContext = (require(4030) /* metro dependency 4030 */).PortalStateContext;
|
||||
const value = useContext(PortalStateContext);
|
||||
if (value === null) {
|
||||
throw new global.Error("'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component.");
|
||||
}
|
||||
return value[a0] || [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user