Merge pull request #14949 from storybookjs/fix/remove-update-globals-warning

Core: Remove updateGlobals warning message
This commit is contained in:
Michael Shilman 2021-05-16 23:25:22 +08:00 committed by GitHub
commit 52ceb0915a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.');
}
};