[FIX] store: properly call patch on connected components

A previous refactoring broke it by adding a [] arguments to updateprops.
This commit is contained in:
Géry Debongnie
2019-05-07 14:33:01 +02:00
parent b7860a95b0
commit 7f0b236747
3 changed files with 38 additions and 3 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ export class Component<
async _updateProps(
nextProps: Props,
forceUpdate: boolean = false,
patchQueue: any[]
patchQueue?: any[]
): Promise<void> {
const shouldUpdate = forceUpdate || this.shouldUpdate(nextProps);
if (shouldUpdate) {