diff --git a/copilot-ui/src/actions/ActionProvider.tsx b/copilot-ui/src/actions/ActionProvider.tsx index 5b15907a..436516e6 100644 --- a/copilot-ui/src/actions/ActionProvider.tsx +++ b/copilot-ui/src/actions/ActionProvider.tsx @@ -61,7 +61,7 @@ const ActionProvider: React.FC = ({ })); }; - const updateLastMessage = (message) => { + const updateLastMessage = (_) => { setState(prev => ({ ...prev, messages: [...prev.messages.slice(0, 1)]