diff --git a/vizro-core/src/vizro/static/js/models/dashboard.js b/vizro-core/src/vizro/static/js/models/dashboard.js index ceddcb510..9d2fb1437 100644 --- a/vizro-core/src/vizro/static/js/models/dashboard.js +++ b/vizro-core/src/vizro/static/js/models/dashboard.js @@ -1,3 +1,3 @@ -export function _update_dashboard_theme(on) { - return on ? "vizro_light" : "vizro_dark"; +export function _update_dashboard_theme(checked) { + return checked ? "vizro_light" : "vizro_dark"; }