We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f1cb35 commit 2fcdb94Copy full SHA for 2fcdb94
src/herbie/HerbieUI.tsx
@@ -159,8 +159,7 @@ function HerbieUIInner() {
159
const urlSpec = new HerbieTypes.Spec(urlExpr, specId);
160
const variables = fpcorejs.getVarnamesMathJS(urlExpr);
161
162
- // TODO: do expression validation, see SpecComponent
163
- setSpec(urlSpec);
+
164
165
// Get ranges from URL parameters if they exist
166
const customRanges = getRangesFromURL(variables);
@@ -182,6 +181,9 @@ function HerbieUIInner() {
182
181
utils.nextId(inputRangesTable)
183
)]);
184
+ // TODO: do expression validation, see SpecComponent
185
+ setSpec(urlSpec);
186
187
if (urlAlts !== null) {
188
const alts: HerbieTypes.Expression[] = [];
189
let expId = 0;
0 commit comments