mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-05-06 05:38:51 +00:00
fix: server edit dialog submit button unresponsive after first save (#1132)
Upgrade react-hook-form 7.63→7.71 to fix form.reset() race condition that silently broke zod validation on subsequent submissions. Reset form and public-note state (publicNoteObj/Raw/Mode/Errors) from latest data when the edit dialog opens, preventing stale state from a previous edit session.
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@
|
||||
"react": "^19.2.0",
|
||||
"react-day-picker": "^9.11.1",
|
||||
"react-dom": "^19.2.0",
|
||||
"react-hook-form": "^7.64.0",
|
||||
"react-hook-form": "^7.71.1",
|
||||
"react-i18next": "^16.0.0",
|
||||
"react-router-dom": "^7.9.4",
|
||||
"react-virtuoso": "^4.14.1",
|
||||
|
||||
Reference in New Issue
Block a user