Update settings.tsx

Update parameter `step` of historyMessageCount to 1.
This commit is contained in:
MaYuKe 2023-04-04 23:32:19 +08:00 committed by GitHub
parent bf8d136936
commit 8ba1dedcea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,7 +417,7 @@ export function Settings(props: { closeSettings: () => void }) {
value={config.historyMessageCount} value={config.historyMessageCount}
min="0" min="0"
max="25" max="25"
step="2" step="1"
onChange={(e) => onChange={(e) =>
updateConfig( updateConfig(
(config) => (config) =>