Skip to content

Commit 5bf2b2f

Browse files
authored
Merge pull request #8 from WillEhrendreich/patch-2
2 parents 321e035 + 0211973 commit 5bf2b2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Elem.div [ Ds.signal (sp"signalPath", "signalValue", ifMissing = true) ] []
159159
Creates a read-only signal that is computed based on a [Datastar expression](https://data-star.dev/guide/datastar_expressions). [`data-text`](#dstext--data-text) is used here to bind and display the signal value.
160160

161161
```fsharp
162-
Elem.div [ Ds.computed "foo" "$bar + $baz" ] []
162+
Elem.div [ Ds.computed ("foo", "$bar + $baz") ] []
163163
Elem.div [ Ds.text "$foo" ] []
164164
```
165165

0 commit comments

Comments
 (0)