reenable environment in useSquiggle
This commit is contained in:
parent
ba280c9292
commit
eda1a45fda
|
@ -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,
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user