absolute path for bindingsImportsFile

This commit is contained in:
Quinn Dougherty 2022-07-28 10:57:58 -04:00
parent 33e5ebd6da
commit c77795c832

View File

@ -25,7 +25,7 @@ import { SquiggleEditorWithImportedBindings } from "../../src/components/Squiggl
<SquiggleEditorImportedBindings
defaultCode={"f(z)"}
bindingsImportFile={"../../estimates/demo.squiggle/"}
bindingsImportFile={/estimates/demo.squiggle"}
/>;
```
@ -33,5 +33,5 @@ Which would then look exactly like
<SquiggleEditorWithImportedBindings
defaultCode={"f(z)"}
bindingsImportUrl={"../../estimates/demo.squiggle/"}
bindingsImportUrl={"/estimates/demo.squiggle"}
/>