From 3b5e973897fbba3fb669308ea88005b01390ef5e Mon Sep 17 00:00:00 2001 From: Ruben Thoms Date: Thu, 30 Jan 2025 14:23:02 +0100 Subject: [PATCH] Set `react` version to `18.2.0` --- webviz_config/templates/copy_data_template.py.jinja2 | 2 +- webviz_config/templates/webviz_template.py.jinja2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webviz_config/templates/copy_data_template.py.jinja2 b/webviz_config/templates/copy_data_template.py.jinja2 index 0c3d8944..e29d17d8 100644 --- a/webviz_config/templates/copy_data_template.py.jinja2 +++ b/webviz_config/templates/copy_data_template.py.jinja2 @@ -24,7 +24,7 @@ theme = webviz_config.WebvizConfigTheme("{{ theme_name }}") theme.from_json((Path(__file__).resolve().parent / "theme_settings.json").read_text()) theme.plotly_theme_layout_update({{ options.plotly_theme }}) -dash._dash_renderer._set_react_version("18.3.1") +dash._dash_renderer._set_react_version("18.2.0") app = dash.Dash() app.config.suppress_callback_exceptions = True diff --git a/webviz_config/templates/webviz_template.py.jinja2 b/webviz_config/templates/webviz_template.py.jinja2 index afe9c236..478b4a4a 100644 --- a/webviz_config/templates/webviz_template.py.jinja2 +++ b/webviz_config/templates/webviz_template.py.jinja2 @@ -40,7 +40,7 @@ theme = webviz_config.WebvizConfigTheme("{{ theme_name }}") theme.from_json((Path(__file__).resolve().parent / "theme_settings.json").read_text()) theme.plotly_theme_layout_update({{ options.plotly_theme }}) -_dash_renderer._set_react_version("18.3.1") +_dash_renderer._set_react_version("18.2.0") app = Dash( name=__name__,