Hi there, We had a query while using MedplumProvider from @medplum/react library. In foomedical, the provider is passed a client like below. We are wondering how does this client know which project to use? The sign in form has the project id but the provider does not. Is that correct? And if so, how is the provider getting the Project Id. If there is any documentation of react MedplumProvider, that would be great too.
const medplum = new MedplumClient({
onUnauthenticated: () => (window.location.href = '/'),
});