diff --git a/gui/src/components/StepContainer/StepContainer.tsx b/gui/src/components/StepContainer/StepContainer.tsx index a0e73351f..e235ae2a2 100644 --- a/gui/src/components/StepContainer/StepContainer.tsx +++ b/gui/src/components/StepContainer/StepContainer.tsx @@ -24,7 +24,6 @@ export default function StepContainer(props: StepContainerProps) { (state) => state.session.history[props.index + 1], ); const uiConfig = useAppSelector(selectUIConfig); - const history = useAppSelector((state) => state.session.history); const isNextMsgAssistantOrThinking = historyItemAfterThis?.message.role === "assistant" ||