Skip to content

Commit 17398f5

Browse files
authored
style(ui): add action content (#35)
1 parent 9db3f70 commit 17398f5

File tree

1 file changed

+4
-0
lines changed
  • src/renderer/src/components/ThoughtChain

1 file changed

+4
-0
lines changed

src/renderer/src/components/ThoughtChain/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ const ThoughtStepCard = ({ step, borderRadius }: ThoughtStepCardProps) => {
106106
Action: {step.action_type}
107107
{step.action_inputs?.start_box &&
108108
`(start_box: ${step.action_inputs.start_box})`}
109+
{Boolean(step.action_inputs?.content) &&
110+
`(${step.action_inputs.content})`}
111+
{Boolean(step.action_inputs?.key) &&
112+
`(${step.action_inputs.key})`}
109113
</Text>
110114
</HStack>
111115
</Box>

0 commit comments

Comments
 (0)