Skip to content

Commit c242820

Browse files
committed
Extends config debounce to 1 sec
1 parent 15873af commit c242820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/projects/projectId/attributes/attributeId/AttributeCalculations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default function AttributeCalculation() {
7575
const [additionalConfigTmp, setAdditionalConfigTmp] = useState<LLMConfig>(null);
7676

7777
const currentAttributeRef = useRefFor(currentAttribute);
78-
const debouncedConfig = useDebounce(additionalConfigTmp, 500);
78+
const debouncedConfig = useDebounce(additionalConfigTmp, 1000);
7979

8080
const updateSourceCode = useCallback((value: string, attributeNameParam?: string) => {
8181
var regMatch: any = getPythonFunctionRegExMatch(value);

0 commit comments

Comments
 (0)