Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reflex/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1311,9 +1311,9 @@ def memoized_toast_provider():
self.head_components,
html_lang=self.html_lang,
html_custom_attrs=(
{"suppressHydrationWarning": "true", **self.html_custom_attrs}
{"suppressHydrationWarning": True, **self.html_custom_attrs}
if self.html_custom_attrs
else {"suppressHydrationWarning": "true"}
else {"suppressHydrationWarning": True}
),
)
)
Expand Down
4 changes: 2 additions & 2 deletions reflex/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from collections.abc import Callable, Iterable, Sequence
from inspect import getmodule
from pathlib import Path
from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Any

from reflex import constants
from reflex.compiler import templates, utils
Expand Down Expand Up @@ -465,7 +465,7 @@ def get_shared_components_recursive(component: BaseComponent):
def compile_document_root(
head_components: list[Component],
html_lang: str | None = None,
html_custom_attrs: dict[str, Var | str] | None = None,
html_custom_attrs: dict[str, Var | Any] | None = None,
) -> tuple[str, str]:
"""Compile the document root.

Expand Down
2 changes: 1 addition & 1 deletion reflex/compiler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def compile_custom_component(
def create_document_root(
head_components: Sequence[Component] | None = None,
html_lang: str | None = None,
html_custom_attrs: dict[str, Var | str] | None = None,
html_custom_attrs: dict[str, Var | Any] | None = None,
) -> Component:
"""Create the document root.

Expand Down
Loading