Skip to content

Commit

Permalink
Remove function name.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Mar 28, 2023
1 parent 944eda2 commit 68af684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,13 +434,13 @@ def test_pch005_clientside_duplicate(dash_duo):
)

app.clientside_callback(
"function onClickOne() { return 'click1';}",
"function() { return 'click1';}",
Output("output", "children", allow_duplicate=True),
Input("click1", "n_clicks"),
prevent_initial_call=True,
)
app.clientside_callback(
"function onClickTwo(){ return 'click2';}",
"function() { return 'click2';}",
Output("output", "children", allow_duplicate=True),
Input("click2", "n_clicks"),
prevent_initial_call=True,
Expand Down

0 comments on commit 68af684

Please sign in to comment.