fix(medusa-react): medusa provider needs a medusa client instance (#6363)

This commit is contained in:
Vinícius Gutierrez
2024-02-12 18:29:45 -03:00
committed by GitHub
parent a6a4b3f01a
commit aa9f66e16a

View File

@@ -103,7 +103,7 @@ export interface MedusaProviderProps {
* An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`,
* `publishableApiKey`, `maxRetries`, and `customHeaders` props.
*/
medusaClient: Medusa
medusaClient?: Medusa
}
/**