Skip to content

Commit bfa940f

Browse files
bobisjanpzuraq
andauthored
Update text/0000-render-element-modifiers.md
Co-Authored-By: pzuraq <[email protected]>
1 parent e80bdd1 commit bfa940f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-render-element-modifiers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ scroll position of an element:
215215
```js
216216
// helpers/scroll-to.js
217217
export default function scrollTo() {
218-
return (element, scrollPosition) => element.scrollTop = scrollPosition;
218+
return (element, [scrollPosition]) => element.scrollTop = scrollPosition;
219219
}
220220
```
221221
```hbs

0 commit comments

Comments
 (0)