(offset)
| 128 | return isUndefined(id) ? contextValue[offset * 2] : isString(id) ? objGet(contextValue[offset * 2 + 1], id) : id; |
| 129 | }; |
| 130 | var useThings = (offset) => ({ ...useContext(Context)[offset * 2 + 1] }); |
| 131 | var useThingOrThingById = (thingOrThingId, offset) => { |
| 132 | const thing = useThing(thingOrThingId, offset); |
| 133 | return isUndefined(thingOrThingId) || isString(thingOrThingId) ? thing : thingOrThingId; |
no outgoing calls
no test coverage detected
searching dependent graphs…