Explorar el Código

Fix foreach indexing (#1403)

Nikhil Rao hace 1 año
padre
commit
c94b2e4636
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      reflex/components/tags/iter_tag.py

+ 1 - 1
reflex/components/tags/iter_tag.py

@@ -33,7 +33,6 @@ class IterTag(Tag):
         return BaseVar(
             name=INDEX_VAR,
             type_=int,
-            is_local=True,
         )
 
     @staticmethod
@@ -46,6 +45,7 @@ class IterTag(Tag):
         return BaseVar(
             name=INDEX_VAR,
             type_=int,
+            is_local=True,
         )
 
     @staticmethod