Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8f2ae1

Browse files
Update libs/state/selections/docs/Readme.md
Co-authored-by: push-based-bot <[email protected]>
1 parent d8f4e5f commit d8f2ae1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libs/state/selections/docs/Readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,8 @@ export class ProblemComponent {
257257

258258
// ✔ GOOD: Derive view model from model 👇
259259
viewModel$ = smosh({
260-
title: this.state.select('title'),
261-
[this.sortedSlice$]
262-
});
260+
title: this.state.select('title')
261+
}, [this.sortedSlice$]);
263262

264263

265264

0 commit comments

Comments
 (0)