From 68af684726a45967a9b24bf10e2bd26311eb734e Mon Sep 17 00:00:00 2001 From: philippe Date: Tue, 28 Mar 2023 16:22:41 -0400 Subject: [PATCH] Remove function name. --- tests/integration/test_patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_patch.py b/tests/integration/test_patch.py index 6b9c72b790..2562464b39 100644 --- a/tests/integration/test_patch.py +++ b/tests/integration/test_patch.py @@ -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,