Fix a bug in useSettings that causes an infinite loop. (https://github.com/woocommerce/woocommerce-admin/pull/6540)
This commit is contained in:
parent
14e2becc9a
commit
9225fce382
|
@ -30,7 +30,7 @@ export const useSettings = ( group, settingsKeys = [] ) => {
|
|||
isDirty: getIsDirty( group, settingsKeys ),
|
||||
};
|
||||
},
|
||||
[ group, settingsKeys ]
|
||||
[ group, ...settingsKeys.sort() ]
|
||||
);
|
||||
const {
|
||||
persistSettingsForGroup,
|
||||
|
|
|
@ -102,6 +102,7 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
|
|||
- Add: Remove Mollie promo note on install #6510
|
||||
- Add: Remote Inbox Notifications rule to trigger when WooCommerce Admin is upgraded. #6040
|
||||
- Feature: Increase target audience for business feature step. #6508
|
||||
- Fix: Crash of Analytics > Settings page when Gutenberg is installed. #6540
|
||||
|
||||
== 2.1.0 ==
|
||||
|
||||
|
|
Loading…
Reference in New Issue