absolute path for bindingsImportsFile
This commit is contained in:
parent
33e5ebd6da
commit
c77795c832
|
@ -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"}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user