fix: editor scrolling not working
This commit is contained in:
@ -162,14 +162,10 @@ function entryDraftReducer(
|
||||
entry: set(newState.entry, `${dataPath.join('.')}.${path}`, value),
|
||||
};
|
||||
|
||||
console.log('BEFORE I18N', { ...newState.entry });
|
||||
|
||||
if (i18n) {
|
||||
newState = duplicateI18nFields(newState, field, i18n.locales, i18n.defaultLocale);
|
||||
}
|
||||
|
||||
console.log('AFTER I18N', { ...newState.entry });
|
||||
|
||||
const newData = get(newState.entry, dataPath) ?? {};
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user