Skip to content

Commit

Permalink
Couple of small corrections to example code (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianvogel authored Jul 3, 2024
1 parent 9ba0150 commit 14feedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/docs/guides/Using_Refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ any time you want to _change_ an existing property value for an existing node wi

```js
// Creating a ref to an svf filter node
let [svf, setFilterProps] = createNode("svf", {mode: 'lowpass'}, [filterInput]);
let [svf, setFilterProps] = createRef("svf", {mode: 'lowpass'}, [filterInput]);

// Mount the svf somewhere in our graph
core.render(...)
Expand Down

0 comments on commit 14feedd

Please sign in to comment.