Skip to content

Commit 960bffe

Browse files
committed
precommit related error fixing
1 parent 6d52d63 commit 960bffe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

reflex/sitemap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def generate_links_for_sitemap(
9393
"""
9494
links = []
9595

96-
# find link of pages that are not dynamicaly created.
96+
# find link of pages that are not dynamically created.
9797
for route in sitemap_config:
9898
# Ignore dynamic routes and 404
9999
if ("[" in route and "]" in route) or route == "404":
@@ -131,7 +131,7 @@ def generate_static_sitemap(links: List[Dict[str, str]]) -> None:
131131
"""Generates the sitemaps for the pages stored in _pages. Store it in sitemap.xml.
132132
133133
This method is called from two methods:
134-
1. Everytime the web app is deployed onto the server.
134+
1. Every time the web app is deployed onto the server.
135135
2. When the user (or crawler) requests for the sitemap.xml file.
136136
137137
Args:

tests/units/test_sitemap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from pathlib import Path
33

44
import pytest
5+
56
import reflex as rx
67
from reflex import Component, constants
78
from reflex.app import App

0 commit comments

Comments
 (0)