summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/slashCommandProcessor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.ts')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
index 739a08ba..b7dcbdcb 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
@@ -127,10 +127,7 @@ export const useSlashCommandProcessor = (
};
} else {
historyItemContent = {
- type: message.type as
- | MessageType.INFO
- | MessageType.ERROR
- | MessageType.USER,
+ type: message.type,
text: message.content,
};
}