docs: updated custom hooks section in Medusa React (#4566)

* docs: updated custom hooks section in Medusa React

* fix eslint errors
This commit is contained in:
Shahed Nasser
2023-07-20 15:20:10 +03:00
committed by GitHub
parent 4d326fbbdf
commit 6bc8b40a6b
47 changed files with 304 additions and 141 deletions

View File

@@ -1230,7 +1230,7 @@ You will most likely need to interact with the Medusa backend from your Widgets
:::note
Make sure to also install the Medusa React package first if youre intending to use it, as explained in the [Medusa React guide](../medusa-react/overview.md).
Make sure to also install the Medusa React package first if youre intending to use it, as explained in the [Medusa React guide](../medusa-react/overview.mdx).
:::
@@ -1273,7 +1273,7 @@ export const config: WidgetConfig = {
export default ProductWidget
```
You can also use `medusa-react` to interact with custom endpoints using the [createCustomAdminHooks utility function](../medusa-react/overview.md#custom-hooks).
You can also use `medusa-react` to interact with custom endpoints using the [createCustomAdminHooks utility function](../medusa-react/overview.mdx#custom-hooks).
---