{actions.map(({ id, action, executionParams }) => (
-
- {action}: {JSON.stringify(executionParams)}
-
+
+ {action}
+
+ {Object.entries(executionParams).map(
+ ([param, value]) => (
+
+ {param}: {value}
+
+ ),
+ )}
+
+
))}
- >
+
}
>
- {actions.length === 1 ? '1 action' : `${actions.length} tokens`}
+ {actions.length === 1
+ ? '1 action'
+ : `${actions.length} actions`}