Sfoglia il codice sorgente

Support 3.9 on templates (#2065)

Nikhil Rao 1 anno fa
parent
commit
d5c7cedf31
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      reflex/.templates/apps/base/code/templates/template.py

+ 2 - 0
reflex/.templates/apps/base/code/templates/template.py

@@ -1,5 +1,7 @@
 """Common templates used between pages in the app."""
 
+from __future__ import annotations
+
 from code import styles
 from code.components.sidebar import sidebar
 from typing import Callable