diff --git a/webview-ui/src/components/history/HistoryPreview.tsx b/webview-ui/src/components/history/HistoryPreview.tsx index 6bbe48f44a..d9b2713a36 100644 --- a/webview-ui/src/components/history/HistoryPreview.tsx +++ b/webview-ui/src/components/history/HistoryPreview.tsx @@ -10,9 +10,7 @@ import TaskItem from "./TaskItem" const HistoryPreview = () => { const { tasks } = useTaskSearch() const { t } = useAppTranslation() - let { maxTasksHomeScreen } = useExtensionState() - - maxTasksHomeScreen = 100 + const { maxTasksHomeScreen } = useExtensionState() const handleViewAllHistory = () => { vscode.postMessage({ type: "switchTab", tab: "history" })