From 58ebb49ce121909f8aa3a046ce490607a02f71ac Mon Sep 17 00:00:00 2001 From: Matthew Curtis Date: Fri, 17 Jan 2025 14:57:20 -0600 Subject: [PATCH] respond to Ben's feedback --- packages/perseus/src/widgets/grapher/grapher.tsx | 4 ++-- packages/perseus/src/widgets/grapher/util.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/perseus/src/widgets/grapher/grapher.tsx b/packages/perseus/src/widgets/grapher/grapher.tsx index 6afe2f66d8..f7e7f3e0f8 100644 --- a/packages/perseus/src/widgets/grapher/grapher.tsx +++ b/packages/perseus/src/widgets/grapher/grapher.tsx @@ -32,7 +32,7 @@ import { defaultPlotProps, getGridAndSnapSteps, maybePointsFromNormalized, - movableToGraphieMovable, + movableTypeToComponent, typeToButton, } from "./util"; @@ -138,7 +138,7 @@ class FunctionGrapher extends React.Component { } const functionProps = model.getPropsForCoeffs(coeffs, xRange); - const Movable = movableToGraphieMovable[model.movable]; + const Movable = movableTypeToComponent[model.movable]; return (