( offset: Offsets, )
| 86 | }; |
| 87 | |
| 88 | export const useThings = <UsedThing extends Thing>( |
| 89 | offset: Offsets, |
| 90 | ): IdObj<UsedThing> => |
| 91 | ({...useContext(Context)[offset * 2 + 1]}) as IdObj<UsedThing>; |
| 92 | |
| 93 | export const useThingOrThingById = <T extends Thing>( |
| 94 | thingOrThingId: T | Id | undefined, |
no outgoing calls
no test coverage detected
searching dependent graphs…