From 8ba1dedcea3c53c13fe52963f3c73b3e8942a9c8 Mon Sep 17 00:00:00 2001 From: MaYuKe Date: Tue, 4 Apr 2023 23:32:19 +0800 Subject: [PATCH] Update settings.tsx Update parameter `step` of historyMessageCount to 1. --- app/components/settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 4645f319..02c4415d 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -417,7 +417,7 @@ export function Settings(props: { closeSettings: () => void }) { value={config.historyMessageCount} min="0" max="25" - step="2" + step="1" onChange={(e) => updateConfig( (config) =>