ljmotta commented on code in PR #2681:
URL: 
https://github.com/apache/incubator-kie-tools/pull/2681#discussion_r1884550970


##########
packages/boxed-expression-component/stories/boxedExpressionStoriesWrapper.tsx:
##########


Review Comment:
   It's not necessary to modify the `BoxedExpressionEditorStoryArgs` type, as 
the `BoxedExpressionEditorProps` already contains the `evaluationHitsCountById` 
property.
   
   Also, the `useState` isn't required.
   
   The evaluationHitsCountById should have the same value as other props:
   
   ```tsx
   evaluationHitsCountById={props?.evaluationHitsCountById ?? 
args?.evaluationHitsCountById}
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to