From 2adee947bf33ba991d97213b73f4693da7418ccd Mon Sep 17 00:00:00 2001 From: youjin-10 <105618795+youjin-10@users.noreply.github.com> Date: Tue, 19 Sep 2023 11:43:39 +0900 Subject: [PATCH] fix: typo (you own -> your own) --- docs/useRegisterMutationMiddleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/useRegisterMutationMiddleware.md b/docs/useRegisterMutationMiddleware.md index 7d33fc79c6f..41fd4665262 100644 --- a/docs/useRegisterMutationMiddleware.md +++ b/docs/useRegisterMutationMiddleware.md @@ -5,7 +5,7 @@ title: "useRegisterMutationMiddleware" # `useRegisterMutationMiddleware` -React-admin lets you hook into the save logic of the forms in Creation and Edition pages using middleware functions. These functions "wrap" the main mutation (`dataProvider.create()` in a Creation page, `dataProvider.update()` in an Edition page), so you can add you own code to be executed before and after it. This allows you to perform various advanced form use cases, such as: +React-admin lets you hook into the save logic of the forms in Creation and Edition pages using middleware functions. These functions "wrap" the main mutation (`dataProvider.create()` in a Creation page, `dataProvider.update()` in an Edition page), so you can add your own code to be executed before and after it. This allows you to perform various advanced form use cases, such as: - transforming the data passed to the main mutation, - updating the mutation parameters before it is called,