Added default state to persistance
This commit is contained in:
parent
e2f760c7f1
commit
605ce9db62
|
@ -62,7 +62,7 @@ filterSubtree.audioOutputDeviceId = false;
|
|||
filterSubtree.cameraDeviceId = false;
|
||||
filterSubtree.micDeviceId = false;
|
||||
|
||||
PersistenceRegistry.register(STORE_NAME, filterSubtree);
|
||||
PersistenceRegistry.register(STORE_NAME, filterSubtree, DEFAULT_STATE);
|
||||
|
||||
ReducerRegistry.register(STORE_NAME, (state = DEFAULT_STATE, action) => {
|
||||
switch (action.type) {
|
||||
|
|
Loading…
Reference in New Issue