fix(medusa-react): medusa provider needs a medusa client instance (#6363)
This commit is contained in:
@@ -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`,
|
* 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.
|
* `publishableApiKey`, `maxRetries`, and `customHeaders` props.
|
||||||
*/
|
*/
|
||||||
medusaClient: Medusa
|
medusaClient?: Medusa
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user