Skip to content

Commit

Permalink
fix(composer): entityId data binding not rendered (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheilaXu committed Nov 29, 2022
1 parent dad88a0 commit 6ad596f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/scene-composer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"lines": 77.23,
"statements": 76.33,
"functions": 76.64,
"branches": 62.91,
"branches": 62.8,
"branchesTrue": 100
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const ValueDataBindingBuilder: React.FC<IValueDataBindingBuilderProps> =
// Initiate the provider
const state = valueDataBindingStore.setBinding(componentRef, binding, dataBindingConfig);
setBuilderState(state);
setAutoSuggestValue(builderState.selectedOptions[ENTITY_ID_INDEX]?.value || '');
setAutoSuggestValue(state.selectedOptions[ENTITY_ID_INDEX]?.value || '');
}, [componentRef, binding, valueDataBindingProvider, dataBindingConfig]);

return (
Expand Down

0 comments on commit 6ad596f

Please sign in to comment.