Skip to content

Commit e96e871

Browse files
committed
Fix state handling for single output callbacks
1 parent 4fe3583 commit e96e871

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Dash.NET/Callback.fs

+1-3
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,7 @@ type Callback<'Function>
197197
?ClientSideFunction = ClientSideFunction
198198
)
199199
let callbackId = Dependency.toCompositeId output
200-
let state =
201-
defaultArg State Seq.empty
202-
|> Seq.map Dependency.toCompositeId
200+
let state = defaultArg State Seq.empty
203201

204202
callbackId |> DynObj.setValue cb "output"
205203
inputs |> DynObj.setValue cb "inputs"

0 commit comments

Comments
 (0)