Skip to content

Commit 398d034

Browse files
committed
Remove function name
1 parent 944eda2 commit 398d034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/integration/test_patch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,13 +434,13 @@ def test_pch005_clientside_duplicate(dash_duo):
434434
)
435435

436436
app.clientside_callback(
437-
"function onClickOne() { return 'click1';}",
437+
"function() { return 'click1';}",
438438
Output("output", "children", allow_duplicate=True),
439439
Input("click1", "n_clicks"),
440440
prevent_initial_call=True,
441441
)
442442
app.clientside_callback(
443-
"function onClickTwo(){ return 'click2';}",
443+
"function() { return 'click2';}",
444444
Output("output", "children", allow_duplicate=True),
445445
Input("click2", "n_clicks"),
446446
prevent_initial_call=True,

0 commit comments

Comments
 (0)