Skip to content

Commit

Permalink
remove excess whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Nov 19, 2024
1 parent 96f6f81 commit b284987
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/reactpy_router/routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,10 @@ def router(
match = use_memo(lambda: _match_route(resolvers, location, select="first"))

if match:

if first_load:

# We need skip rendering the application on 'first_load' to avoid
# rendering it twice. The second render occurs following
# the impending on_history_change event

route_elements = []
else:
route_elements = [
Expand Down

0 comments on commit b284987

Please sign in to comment.