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

Commit f8eb31a

Browse files
committed
🌹 prettier
1 parent fb51d1f commit f8eb31a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/actions/index.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -504,14 +504,18 @@ function updateOutput(
504504
returnValue = window[client_function.namespace][
505505
client_function.function_name
506506
](
507-
...(has('inputs', payload) ? pluck('value', payload.inputs) : []),
507+
...(has('inputs', payload)
508+
? pluck('value', payload.inputs)
509+
: []),
508510
...(has('state', payload) ? pluck('value', payload.state) : [])
509511
);
510-
} catch(e) {
512+
} catch (e) {
511513
/* eslint-disable no-console */
512514
console.error(
513-
`The following error occurred while executing ${client_function.namespace}.${client_function.function_name} ` +
514-
`in order to update component "${payload.output}" ⋁⋁⋁`
515+
`The following error occurred while executing ${
516+
client_function.namespace
517+
}.${client_function.function_name} ` +
518+
`in order to update component "${payload.output}" ⋁⋁⋁`
515519
);
516520
console.error(e);
517521
/* eslint-enable no-console */
@@ -574,7 +578,7 @@ function updateOutput(
574578

575579
/* eslint-disable consistent-return */
576580
return fetch(`${urlBase(config)}_dash-update-component`, {
577-
/* eslint-enable consistent-return */
581+
/* eslint-enable consistent-return */
578582

579583
method: 'POST',
580584
headers: {

0 commit comments

Comments
 (0)