Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DevNatan committed Apr 23, 2024
1 parent dcde5d6 commit a6fe9c6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ IFRenderContext createRenderContext(IFOpenContext openContext) {
final State<?> state = root.getStateRegistry().getState(id);
final StateValue recreatedValue = state.factory().create(renderContext, state);

if (recreatedValue instanceof MutableValue)
recreatedValue.set(value.get());
if (recreatedValue instanceof MutableValue) recreatedValue.set(value.get());

renderContext.initializeState(id, recreatedValue);
});
Expand Down

0 comments on commit a6fe9c6

Please sign in to comment.