Explorar o código

added check to remove local import starting from . (#1807)

wassaf shahzad hai 1 ano
pai
achega
1c598b8428
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      reflex/app.py

+ 1 - 0
reflex/app.py

@@ -524,6 +524,7 @@ class App(Base):
             and i != "focus-visible/dist/focus-visible"
             and i != "focus-visible/dist/focus-visible"
             and "next" not in i
             and "next" not in i
             and not i.startswith("/")
             and not i.startswith("/")
+            and not i.startswith(".")
             and i != ""
             and i != ""
         }
         }
         frontend_packages = get_config().frontend_packages
         frontend_packages = get_config().frontend_packages