This PR creates a testing suite for the receiving context, and alters a few of its methods to accept whole ReceivingCard objects rather than uuids, which I believe semantically improve its API.
We also export a wrapper over the useContext hook, called useReceivingContext to simplify our imports.
Summary
This PR creates a testing suite for the receiving context, and alters a few of its methods to accept whole
ReceivingCard
objects rather thanuuid
s, which I believe semantically improve its API.We also export a wrapper over the
useContext
hook, calleduseReceivingContext
to simplify our imports.