Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit fc49968

Browse files
committed
⚡ simpler API check as according to plotly/dash@7281b7d
1 parent bebfccb commit fc49968

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: src/actions/index.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -500,11 +500,7 @@ function updateOutput(
500500
}
501501

502502
// Clientside hook
503-
if (
504-
clientside_function &&
505-
// allow the API to skip clientside if provided {} or nothing at all
506-
!isEmpty(clientside_function)
507-
) {
503+
if (clientside_function) {
508504
let returnValue;
509505
try {
510506
returnValue = window.dash_clientside[clientside_function.namespace][

0 commit comments

Comments
 (0)