small refactoring

This commit is contained in:
Géry Debongnie
2019-03-12 11:42:46 +01:00
parent 77e071f4eb
commit 2fb6ebb0c5
4 changed files with 42 additions and 44 deletions
@@ -16,11 +16,7 @@ exports[`random stuff/miscellaneous snapshotting compiled code 1`] = `
let isNew4 = !w4;
if (w4 && w4.__widget__.renderPromise) {
if (w4.__widget__.isStarted) {
if (props4 === w4.__widget__.renderProps) {
def3 = w4.__widget__.renderPromise;
} else {
def3 = w4.updateProps(props4);
}
def3 = w4.updateProps(props4);
} else {
isNew4 = true
if (props4 === w4.__widget__.renderProps) {