Skip to content

Commit 53cdb9e

Browse files
committed
More clear comment on _match_route
1 parent 66bef6a commit 53cdb9e

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
@@ -122,7 +122,7 @@ def _match_route(
122122
# matches via the `Route` component. However, it's kept here to support future changes
123123
# or third-party routers.
124124
# TODO: The `resolver.key` value has edge cases where it is not unique enough to use as
125-
# a key here, unless we begin throwing errors for duplicate routes.
125+
# a key here. We can potentially fix this by throwing errors for duplicate identical routes.
126126
matches.append(_add_route_key(match, resolver.key)) # pragma: no cover
127127

128128
if not matches:

0 commit comments

Comments
 (0)