MCPcopy Create free account
hub / github.com/bytebase/bytebase / handlePresetClick

Function handlePresetClick

frontend/src/react/components/MaxRowCountSelect.tsx:42–45  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

40 }, [maximum]);
41
42 const handlePresetClick = (n: number) => {
43 onChange(n);
44 setOpen(false);
45 };
46
47 const handleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
48 const rawValue = Number(e.target.value);

Callers 1

MaxRowCountSelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected