fix(cm): Creating a new locale doesn't pre-fill the non-internationalized fields (#18773)

This commit is contained in:
DMehaffy 2024-03-27 04:53:43 -07:00 committed by GitHub
parent ae6b92318c
commit 2e80eaf43a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -216,7 +216,7 @@ const ContentTypeFormWrapper = ({
// This is needed in order to reset the form when the query changes
const init = async () => {
dispatch(getData());
await dispatch(getData());
dispatch(initForm(rawQuery));
};