mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-02 05:03:44 +08:00
Merge pull request #14949 from storybookjs/fix/remove-update-globals-warning
Core: Remove updateGlobals warning message
This commit is contained in:
commit
52ceb0915a
@ -37,8 +37,6 @@ export const init: ModuleFn = ({ store, fullAPI }) => {
|
||||
const currentGlobals = store.getState()?.globals;
|
||||
if (!deepEqual(globals, currentGlobals)) {
|
||||
store.setState({ globals });
|
||||
} else {
|
||||
logger.info('Tried to update globals but the old and new values are equal.');
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user