Skip to content

Commit b1192c5

Browse files
committed
use unpacking instead of list
1 parent 2d88133 commit b1192c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactpy_router/routers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def on_history_change(event: dict[str, Any]) -> None:
7777

7878
return ConnectionContext(
7979
History({"onHistoryChange": on_history_change}), # type: ignore[return-value]
80-
html._(route_elements),
80+
*route_elements,
8181
value=Connection(old_conn.scope, location, old_conn.carrier),
8282
)
8383

0 commit comments

Comments
 (0)