Rename id in CLEAR_PLUGIN_STATE event
Summary: There's been a bug here where the id was treated as a pluginId. Renaming to make it clear. Reviewed By: passy Differential Revision: D16338884 fbshipit-source-id: 42c6c92653811d88cd37ebf4834346b1f0bb2c2a
This commit is contained in:
committed by
Facebook Github Bot
parent
286f0d7acf
commit
5288c4ac93
@@ -38,7 +38,7 @@ export default (store: Store, logger: Logger) => {
|
||||
store.dispatch({
|
||||
type: 'CLEAR_PLUGIN_STATE',
|
||||
payload: {
|
||||
id,
|
||||
clientId: id,
|
||||
devicePlugins: new Set([
|
||||
...store.getState().plugins.devicePlugins.keys(),
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user