From baf6ca79527109d36695d31cd8388be0e50153d5 Mon Sep 17 00:00:00 2001 From: fzaninotto Date: Fri, 17 Jun 2022 14:10:39 +0200 Subject: [PATCH] Fix useFormState returns null with yarn pnp Closes #7749 --- packages/ra-ui-materialui/package.json | 1 + yarn.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/ra-ui-materialui/package.json b/packages/ra-ui-materialui/package.json index 3d2659350cc..aebdf08cbf4 100644 --- a/packages/ra-ui-materialui/package.json +++ b/packages/ra-ui-materialui/package.json @@ -53,6 +53,7 @@ "ra-core": "^4.0.0", "react": "^16.9.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0", + "react-hook-form": "*", "react-router": "^6.1.0", "react-router-dom": "^6.1.0" }, diff --git a/yarn.lock b/yarn.lock index f59988c9f7e..6c8b119cd50 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21156,6 +21156,7 @@ __metadata: ra-core: ^4.0.0 react: ^16.9.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 + react-hook-form: "*" react-router: ^6.1.0 react-router-dom: ^6.1.0 languageName: unknown