They are all pretty much the same. Should be able to de-duplicate a lot of code there.
Now that we have the authenticated API object in the context provider, we can use that from a useApi hook to simplify everything and handle errors automagically (most of which are being ignored right now)
They are all pretty much the same. Should be able to de-duplicate a lot of code there.
Now that we have the authenticated API object in the context provider, we can use that from a
useApi
hook to simplify everything and handle errors automagically (most of which are being ignored right now)