Skip to content

Commit

Permalink
fix: remove uneeded check when provider re-renders closes #2388 (#2397)
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Oct 5, 2019
1 parent b16f329 commit 41d2f58
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/common.ts
Expand Up @@ -70,10 +70,6 @@ export function createValidationCtx(ctx: ProviderInstance): ValidationContext {
}

export function onRenderUpdate(vm: ProviderInstance, value: any | undefined) {
if (value === undefined) {
return;
}

if (!vm.initialized) {
vm.initialValue = value;
}
Expand Down

0 comments on commit 41d2f58

Please sign in to comment.