Skip to content

Commit

Permalink
Set react version to 18.2.0 (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms authored Jan 30, 2025
1 parent 4463be6 commit 1a0d81e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webviz_config/templates/copy_data_template.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion webviz_config/templates/webviz_template.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
Expand Down

0 comments on commit 1a0d81e

Please sign in to comment.