fix: warnings
This commit is contained in:
@@ -72,8 +72,6 @@ function range(min: number, max: number, step: number): number[] {
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
const clamp = (min: number, val: number, max: number) => Math.min(max, Math.max(min, val));
|
|
||||||
|
|
||||||
export const LinearGraph = forwardRef<LinearGraphHandle, LinearGraphProps>(function LinearGraph(
|
export const LinearGraph = forwardRef<LinearGraphHandle, LinearGraphProps>(function LinearGraph(
|
||||||
{
|
{
|
||||||
xMin,
|
xMin,
|
||||||
|
|||||||
Reference in New Issue
Block a user