chore; add lint
This commit is contained in:
@@ -4,9 +4,11 @@ import { drawCurves } from '../../utils/graph/draw';
|
||||
import { GRAPH_X_MIN, GRAPH_X_MAX, GRAPH_Y_MIN, GRAPH_Y_MAX, GEQ_CURVE_Q } from '../../constants';
|
||||
import { DiscreteFrequency } from '../../types';
|
||||
import { GEQ_BANDS_LABEL } from '../../constants';
|
||||
import LinearGraph from '../../../../components/LinearGraph/LinearGraph';
|
||||
import { getGeqCurvePoints } from '../../utils/graph/geq';
|
||||
import { LiveBands } from './GeqSection';
|
||||
import LinearGraph, {
|
||||
type LinearGraphHelpers,
|
||||
} from '../../../../components/LinearGraph/LinearGraph';
|
||||
|
||||
const GEQ_FREQS = logSpace(GRAPH_X_MIN, GRAPH_X_MAX, 1000);
|
||||
|
||||
@@ -29,7 +31,7 @@ export const GeqGraph = memo(function GeqGraph({
|
||||
}, [gains, liveBands]);
|
||||
|
||||
const draw = useCallback(
|
||||
({ ctx, toPx }: any) => {
|
||||
({ ctx, toPx }: LinearGraphHelpers) => {
|
||||
drawCurves({
|
||||
ctx,
|
||||
toPx,
|
||||
|
||||
Reference in New Issue
Block a user