Skip to content

Commit 74d13ef

Browse files
committed
ReactPyCSRApp
1 parent d5f3bec commit 74d13ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reactpy/asgi/executors/pyscript.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(
6262
are not applicable to CSR and will have no effect.
6363
"""
6464
ReactPyMiddleware.__init__(
65-
self, app=ReactPyAppCSR(self), root_components=[], **settings
65+
self, app=ReactPyCSRApp(self), root_components=[], **settings
6666
)
6767
if not component_paths:
6868
raise ValueError("At least one component file path must be provided.")
@@ -83,7 +83,7 @@ def match_dispatch_path(self, scope: WebSocketScope) -> bool:
8383

8484

8585
@dataclass
86-
class ReactPyAppCSR(ReactPyApp):
86+
class ReactPyCSRApp(ReactPyApp):
8787
"""ReactPy's standalone ASGI application for Client-Side Rendering (CSR)."""
8888

8989
parent: ReactPyCSR

0 commit comments

Comments
 (0)