Skip to content

Commit

Permalink
chore: Remove duplicate "when" in useMessageParser onActionOpen comme…
Browse files Browse the repository at this point in the history
…ntOpen comment
  • Loading branch information
kapicic committed Mar 7, 2025
1 parent eda10b1 commit 8d99164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/hooks/useMessageParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const messageParser = new StreamingMessageParser({
onActionOpen: (data) => {
logger.trace('onActionOpen', data.action);

// we only add shell actions when when the close tag got parsed because only then we have the content
// we only add shell actions when the close tag got parsed because only then we have the content
if (data.action.type !== 'shell') {
workbenchStore.addAction(data);
}
Expand Down

0 comments on commit 8d99164

Please sign in to comment.