reenable environment in useSquiggle

This commit is contained in:
Vyacheslav Matyukhin 2022-09-01 13:32:11 +04:00
parent ba280c9292
commit eda1a45fda
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -1,10 +1,4 @@
import { import { environment, run, SqValue } from "@quri/squiggle-lang";
environment,
resultMap,
run,
SqValue,
SqValueTag,
} from "@quri/squiggle-lang";
import { useEffect, useMemo } from "react"; import { useEffect, useMemo } from "react";
type SquiggleArgs = { type SquiggleArgs = {
@ -26,7 +20,7 @@ export const useSquiggle = (args: SquiggleArgs) => {
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
[ [
args.code, args.code,
// args.environment, args.environment,
// args.jsImports, // args.jsImports,
args.executionId, args.executionId,
] ]