Skip to content

Commit 38a9a58

Browse files
committed
fix: change from hasCustomTemperature to hasCustomMaxContextWindow for comprehension
1 parent f506170 commit 38a9a58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/settings/MaxContextWindowControl.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export const MaxContextWindowControl = ({ value, onChange, maxValue = 1000000 }:
2020

2121
// Sync internal state with prop changes when switching profiles.
2222
useEffect(() => {
23-
const hasCustomTemperature = value !== undefined && value !== null
24-
setIsCustomMaxContextWindow(hasCustomTemperature)
23+
const hasCustomMaxContextWindow = value !== undefined && value !== null
24+
setIsCustomMaxContextWindow(hasCustomMaxContextWindow)
2525
setInputValue(value)
2626
}, [value])
2727

0 commit comments

Comments
 (0)